#CF9FFE#CF9FFE

#CF9FFE is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.2% C 0.140 H 306.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CF9FFE
RGBrgb(207, 159, 254)
HSLhsl(270, 98%, 81%)
HSVhsv(270, 37%, 100%)
CMYKcmyk(18.5%, 37.4%, 0%, 0.4%)
CIE-LABlab(73.04, 35.44, -40.59)
CIE-LCHlch(73.04, 53.88, 311.12°)
OKLaboklab(78.17% 0.0836 -0.1124)
OKLCHoklch(78.17% 0.14 306.6)
XYZxyz(56.0162, 45.2178, 99.5236)
Luminance0.4522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FFE #CEFE9F
analogous
#9F9FFE #CF9FFE #FE9FFD
triadic
#CF9FFE #FECF9F #9FFECF
tetradic
#CF9FFE #FE9F9F #CEFE9F #9FFDFE
square
#CF9FFE #FE9F9F #CEFE9F #9FFDFE
split-complementary
#CF9FFE #FDFE9F #9FFE9F
monochromatic
#9226FD #B162FD #CF9FFE #EDDCFF #F0E1FF

Accessibility & contrast

On white

2.09
#CF9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CF9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FFE
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FFE#FFFFFF#000000##000000
##CF9FFE1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#95B4FB
Tritanopia (blue-blind)
#C8ADC3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9ffe;
/* rgb */ color: rgb(207, 159, 254);
/* oklch */ color: oklch(78.2% 0.140 306.6);
Tailwind
colors: {
  custom: {
    50: '#dfbcff',
    500: '#cf9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ffe;
$custom-light: #dfbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ffe",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 270.316,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.14009,
    "h": 306.6
  },
  "luminance": 0.45217
}

Semantic roles & 50–950 ramp

primary
#CF9FFE
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CF9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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