#CF9FF8#CF9FF8

#CF9FF8 is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.9% C 0.133 H 308.3°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CF9FF8
RGBrgb(207, 159, 248)
HSLhsl(272, 86%, 80%)
HSVhsv(272, 36%, 97%)
CMYKcmyk(16.5%, 35.9%, 0%, 2.7%)
CIE-LABlab(72.79, 34.14, -37.72)
CIE-LCHlch(72.79, 50.88, 312.14°)
OKLaboklab(77.9% 0.0823 -0.1042)
OKLCHoklch(77.9% 0.133 308.3)
XYZxyz(55.0704, 44.8395, 94.5425)
Luminance0.4484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FF8 #C8F89F
analogous
#A39FF8 #CF9FF8 #F89FF4
triadic
#CF9FF8 #F8CF9F #9FF8CF
tetradic
#CF9FF8 #F8A39F #C8F89F #9FF4F8
square
#CF9FF8 #F8A39F #C8F89F #9FF4F8
split-complementary
#CF9FF8 #F4F89F #9FF8A3
monochromatic
#962DF0 #B266F4 #CF9FF8 #ECD8FC #F1E2FD

Accessibility & contrast

On white

2.11
#CF9FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CF9FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FF8
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FF8#FFFFFF#000000##000000
##CF9FF81.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FB
Deuteranopia (green-blind)
#98B3F5
Tritanopia (blue-blind)
#CAACC0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9ff8;
/* rgb */ color: rgb(207, 159, 248);
/* oklch */ color: oklch(77.9% 0.133 308.3);
Tailwind
colors: {
  custom: {
    50: '#dfbcfb',
    500: '#cf9ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ff8;
$custom-light: #dfbcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ff8",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 248
  },
  "hsl": {
    "h": 272.36,
    "s": 86.408,
    "l": 79.804
  },
  "oklch": {
    "l": 0.779,
    "c": 0.13278,
    "h": 308.3
  },
  "luminance": 0.44839
}

Semantic roles & 50–950 ramp

primary
#CF9FF8
secondary
#E4F5D6
accent
#E3036A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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