#CF9FF3#CF9FF3

#CF9FF3 is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.7% C 0.127 H 309.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CF9FF3
RGBrgb(207, 159, 243)
HSLhsl(274, 78%, 79%)
HSVhsv(274, 35%, 95%)
CMYKcmyk(14.8%, 34.6%, 0%, 4.7%)
CIE-LABlab(72.58, 33.07, -35.32)
CIE-LCHlch(72.58, 48.39, 313.11°)
OKLaboklab(77.68% 0.0812 -0.0973)
OKLCHoklch(77.68% 0.127 309.8)
XYZxyz(54.3050, 44.5334, 90.5116)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FF3 #C3F39F
analogous
#A59FF3 #CF9FF3 #F39FED
triadic
#CF9FF3 #F3CF9F #9FF3CF
tetradic
#CF9FF3 #F3A59F #C3F39F #9FEDF3
square
#CF9FF3 #F3A59F #C3F39F #9FEDF3
split-complementary
#CF9FF3 #EDF39F #9FF3A5
monochromatic
#9932E5 #B469EC #CF9FF3 #EAD5FA #F1E4FC

Accessibility & contrast

On white

2.12
#CF9FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CF9FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FF3
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FF3#FFFFFF#000000##000000
##CF9FF31.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB0F6
Deuteranopia (green-blind)
#9AB3F1
Tritanopia (blue-blind)
#CBABBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9ff3;
/* rgb */ color: rgb(207, 159, 243);
/* oklch */ color: oklch(77.7% 0.127 309.8);
Tailwind
colors: {
  custom: {
    50: '#debcf7',
    500: '#cf9ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ff3;
$custom-light: #debcf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ff3",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 243
  },
  "hsl": {
    "h": 274.286,
    "s": 77.778,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7768,
    "c": 0.12674,
    "h": 309.8
  },
  "luminance": 0.44533
}

Semantic roles & 50–950 ramp

primary
#CF9FF3
secondary
#E4F3D8
accent
#DA0B64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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