#CF94FD#CF94FD

#CF94FD is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.3% C 0.157 H 309.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CF94FD
RGBrgb(207, 148, 253)
HSLhsl(274, 96%, 79%)
HSVhsv(274, 42%, 99%)
CMYKcmyk(18.2%, 41.5%, 0%, 0.8%)
CIE-LABlab(70.55, 41.17, -43.93)
CIE-LCHlch(70.55, 60.21, 313.15°)
OKLaboklab(76.28% 0.0987 -0.122)
OKLCHoklch(76.28% 0.157 309)
XYZxyz(54.0483, 41.5377, 98.0798)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF94FD #C2FD94
analogous
#9A94FD #CF94FD #FD94F7
triadic
#CF94FD #FDCF94 #94FDCF
tetradic
#CF94FD #FD9A94 #C2FD94 #94F7FD
square
#CF94FD #FD9A94 #C2FD94 #94F7FD
split-complementary
#CF94FD #F7FD94 #94FD9A
monochromatic
#991CFB #B458FC #CF94FD #EAD0FE #F2E1FE

Accessibility & contrast

On white

2.26
#CF94FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CF94FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF94FD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF94FD#FFFFFF#000000##000000
##CF94FD1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#C9A4BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf94fd;
/* rgb */ color: rgb(207, 148, 253);
/* oklch */ color: oklch(76.3% 0.157 309.0);
Tailwind
colors: {
  custom: {
    50: '#dfb4fe',
    500: '#cf94fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf94fd;
$custom-light: #dfb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf94fd",
  "rgb": {
    "r": 207,
    "g": 148,
    "b": 253
  },
  "hsl": {
    "h": 273.714,
    "s": 96.33,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76281,
    "c": 0.1569,
    "h": 309
  },
  "luminance": 0.41537
}

Semantic roles & 50–950 ramp

primary
#CF94FD
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF94FD

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

Preview Lab → · Contrast checker → · Palette generator →

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