#CF94EF#CF94EF

#CF94EF is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.6% C 0.141 H 313.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CF94EF
RGBrgb(207, 148, 239)
HSLhsl(279, 74%, 76%)
HSVhsv(279, 38%, 94%)
CMYKcmyk(13.4%, 38.1%, 0%, 6.3%)
CIE-LABlab(69.95, 38.20, -37.23)
CIE-LCHlch(69.95, 53.34, 315.74°)
OKLaboklab(75.63% 0.096 -0.1027)
OKLCHoklch(75.63% 0.141 313.1)
XYZxyz(51.8994, 40.6782, 86.7623)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF94EF #B4EF94
analogous
#A194EF #CF94EF #EF94E1
triadic
#CF94EF #EFCF94 #94EFCF
tetradic
#CF94EF #EFA194 #B4EF94 #94E1EF
square
#CF94EF #EFA194 #B4EF94 #94E1EF
split-complementary
#CF94EF #E1EF94 #94EFA1
monochromatic
#9F2ADF #B75FE7 #CF94EF #E7C9F7 #F3E4FB

Accessibility & contrast

On white

2.30
#CF94EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CF94EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF94EF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF94EF#FFFFFF#000000##000000
##CF94EF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#CCA1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf94ef;
/* rgb */ color: rgb(207, 148, 239);
/* oklch */ color: oklch(75.6% 0.141 313.1);
Tailwind
colors: {
  custom: {
    50: '#dfb4f4',
    500: '#cf94ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf94ef;
$custom-light: #dfb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf94ef",
  "rgb": {
    "r": 207,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 278.901,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75631,
    "c": 0.14058,
    "h": 313.1
  },
  "luminance": 0.40677
}

Semantic roles & 50–950 ramp

primary
#CF94EF
secondary
#E2F3D8
accent
#D60F55
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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