#CF9EF3#CF9EF3

#CF9EF3 is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.5% C 0.128 H 310.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CF9EF3
RGBrgb(207, 158, 243)
HSLhsl(275, 78%, 79%)
HSVhsv(275, 35%, 95%)
CMYKcmyk(14.8%, 35%, 0%, 4.7%)
CIE-LABlab(72.36, 33.61, -35.67)
CIE-LCHlch(72.36, 49.02, 313.30°)
OKLaboklab(77.51% 0.0826 -0.0983)
OKLCHoklch(77.51% 0.128 310)
XYZxyz(54.1337, 44.1909, 90.4545)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EF3 #C2F39E
analogous
#A49EF3 #CF9EF3 #F39EED
triadic
#CF9EF3 #F3CF9E #9EF3CF
tetradic
#CF9EF3 #F3A49E #C2F39E #9EEDF3
square
#CF9EF3 #F3A49E #C2F39E #9EEDF3
split-complementary
#CF9EF3 #EDF39E #9EF3A4
monochromatic
#9931E6 #B468EC #CF9EF3 #EAD4FA #F2E4FC

Accessibility & contrast

On white

2.13
#CF9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CF9EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EF3
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EF3#FFFFFF#000000##000000
##CF9EF31.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#99B2F1
Tritanopia (blue-blind)
#CBAABD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9ef3;
/* rgb */ color: rgb(207, 158, 243);
/* oklch */ color: oklch(77.5% 0.128 310.0);
Tailwind
colors: {
  custom: {
    50: '#dfbbf7',
    500: '#cf9ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ef3;
$custom-light: #dfbbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ef3",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 274.588,
    "s": 77.982,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77507,
    "c": 0.12842,
    "h": 310
  },
  "luminance": 0.4419
}

Semantic roles & 50–950 ramp

primary
#CF9EF3
secondary
#E3F3D8
accent
#DA0B63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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