#CF9EF8#CF9EF8

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

Color values

HEX#CF9EF8
RGBrgb(207, 158, 248)
HSLhsl(273, 87%, 80%)
HSVhsv(273, 36%, 97%)
CMYKcmyk(16.5%, 36.3%, 0%, 2.7%)
CIE-LABlab(72.56, 34.68, -38.08)
CIE-LCHlch(72.56, 51.50, 312.33°)
OKLaboklab(77.73% 0.0837 -0.1052)
OKLCHoklch(77.73% 0.134 308.5)
XYZxyz(54.8991, 44.4970, 94.4854)
Luminance0.4450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EF8 #C7F89E
analogous
#A29EF8 #CF9EF8 #F89EF4
triadic
#CF9EF8 #F8CF9E #9EF8CF
tetradic
#CF9EF8 #F8A29E #C7F89E #9EF4F8
square
#CF9EF8 #F8A29E #C7F89E #9EF4F8
split-complementary
#CF9EF8 #F4F89E #9EF8A2
monochromatic
#972CF0 #B365F4 #CF9EF8 #EBD7FC #F1E2FD

Accessibility & contrast

On white

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

On black

9.90
#CF9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EF8
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EF8#FFFFFF#000000##000000
##CF9EF81.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB0FB
Deuteranopia (green-blind)
#97B3F5
Tritanopia (blue-blind)
#CAABC0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9ef8;
/* rgb */ color: rgb(207, 158, 248);
/* oklch */ color: oklch(77.7% 0.134 308.5);
Tailwind
colors: {
  custom: {
    50: '#dfbbfb',
    500: '#cf9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ef8;
$custom-light: #dfbbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ef8",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 272.667,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77728,
    "c": 0.13444,
    "h": 308.5
  },
  "luminance": 0.44496
}

Semantic roles & 50–950 ramp

primary
#CF9EF8
secondary
#E4F5D6
accent
#E30269
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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