#CF9FF9#CF9FF9

#CF9FF9 is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.9% C 0.134 H 308.0°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CF9FF9
RGBrgb(207, 159, 249)
HSLhsl(272, 88%, 80%)
HSVhsv(272, 36%, 98%)
CMYKcmyk(16.9%, 36.1%, 0%, 2.4%)
CIE-LABlab(72.83, 34.35, -38.20)
CIE-LCHlch(72.83, 51.38, 311.96°)
OKLaboklab(77.94% 0.0826 -0.1055)
OKLCHoklch(77.94% 0.134 308)
XYZxyz(55.2259, 44.9017, 95.3617)
Luminance0.4490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FF9 #C9F99F
analogous
#A29FF9 #CF9FF9 #F99FF6
triadic
#CF9FF9 #F9CF9F #9FF9CF
tetradic
#CF9FF9 #F9A29F #C9F99F #9FF6F9
square
#CF9FF9 #F9A29F #C9F99F #9FF6F9
split-complementary
#CF9FF9 #F6F99F #9FF9A2
monochromatic
#952CF2 #B265F5 #CF9FF9 #ECD9FD #F1E2FD

Accessibility & contrast

On white

2.10
#CF9FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CF9FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FF9
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FF9#FFFFFF#000000##000000
##CF9FF91.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FC
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#CAACC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9ff9;
/* rgb */ color: rgb(207, 159, 249);
/* oklch */ color: oklch(77.9% 0.134 308.0);
Tailwind
colors: {
  custom: {
    50: '#dfbcfb',
    500: '#cf9ff9',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ff9;
$custom-light: #dfbcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ff9",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 249
  },
  "hsl": {
    "h": 272,
    "s": 88.235,
    "l": 80
  },
  "oklch": {
    "l": 0.77945,
    "c": 0.134,
    "h": 308
  },
  "luminance": 0.44901
}

Semantic roles & 50–950 ramp

primary
#CF9FF9
secondary
#E4F5D6
accent
#E5016B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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