#CF9FFB#CF9FFB

#CF9FFB is a light, vivid violet. Relative luminance 0.450; OKLCH L 78.0% C 0.136 H 307.5°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CF9FFB
RGBrgb(207, 159, 251)
HSLhsl(271, 92%, 80%)
HSVhsv(271, 37%, 98%)
CMYKcmyk(17.5%, 36.7%, 0%, 1.6%)
CIE-LABlab(72.91, 34.78, -39.16)
CIE-LCHlch(72.91, 52.38, 311.61°)
OKLaboklab(78.04% 0.083 -0.1083)
OKLCHoklch(78.04% 0.136 307.5)
XYZxyz(55.5395, 45.0272, 97.0133)
Luminance0.4503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FFB #CBFB9F
analogous
#A19FFB #CF9FFB #FB9FF9
triadic
#CF9FFB #FBCF9F #9FFBCF
tetradic
#CF9FFB #FBA19F #CBFB9F #9FF9FB
square
#CF9FFB #FBA19F #CBFB9F #9FF9FB
split-complementary
#CF9FFB #F9FB9F #9FFBA1
monochromatic
#9429F6 #B264F9 #CF9FFB #ECDAFD #F0E2FE

Accessibility & contrast

On white

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

On black

10.01
#CF9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FFB
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FFB#FFFFFF#000000##000000
##CF9FFB1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FF
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#C9ADC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9ffb;
/* rgb */ color: rgb(207, 159, 251);
/* oklch */ color: oklch(78.0% 0.136 307.5);
Tailwind
colors: {
  custom: {
    50: '#dfbcfd',
    500: '#cf9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ffb;
$custom-light: #dfbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ffb",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 271.304,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78035,
    "c": 0.13643,
    "h": 307.5
  },
  "luminance": 0.45027
}

Semantic roles & 50–950 ramp

primary
#CF9FFB
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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