#CF95FC#CF95FC

#CF95FC is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.4% C 0.154 H 309.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CF95FC
RGBrgb(207, 149, 252)
HSLhsl(274, 94%, 79%)
HSVhsv(274, 41%, 99%)
CMYKcmyk(17.9%, 40.9%, 0%, 1.2%)
CIE-LABlab(70.73, 40.42, -43.11)
CIE-LCHlch(70.73, 59.10, 313.15°)
OKLaboklab(76.4% 0.0971 -0.1196)
OKLCHoklch(76.4% 0.154 309.1)
XYZxyz(54.0470, 41.7892, 97.2955)
Luminance0.4179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95FC #C2FC95
analogous
#9B95FC #CF95FC #FC95F6
triadic
#CF95FC #FCCF95 #95FCCF
tetradic
#CF95FC #FC9B95 #C2FC95 #95F6FC
square
#CF95FC #FC9B95 #C2FC95 #95F6FC
split-complementary
#CF95FC #F6FC95 #95FC9B
monochromatic
#991EF9 #B459FA #CF95FC #EAD1FE #F2E1FE

Accessibility & contrast

On white

2.24
#CF95FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CF95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95FC
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95FC#FFFFFF#000000##000000
##CF95FC1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#C9A5BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf95fc;
/* rgb */ color: rgb(207, 149, 252);
/* oklch */ color: oklch(76.4% 0.154 309.1);
Tailwind
colors: {
  custom: {
    50: '#dfb5fd',
    500: '#cf95fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf95fc;
$custom-light: #dfb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95fc",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 273.786,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76398,
    "c": 0.15409,
    "h": 309.1
  },
  "luminance": 0.41789
}

Semantic roles & 50–950 ramp

primary
#CF95FC
secondary
#E3F6D5
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF95FC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CF95FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva