#CF9CFB#CF9CFB

#CF9CFB is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.5% C 0.141 H 308.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CF9CFB
RGBrgb(207, 156, 251)
HSLhsl(272, 92%, 80%)
HSVhsv(272, 38%, 98%)
CMYKcmyk(17.5%, 37.8%, 0%, 1.6%)
CIE-LABlab(72.23, 36.41, -40.21)
CIE-LCHlch(72.23, 54.25, 312.16°)
OKLaboklab(77.52% 0.0872 -0.1113)
OKLCHoklch(77.52% 0.141 308.1)
XYZxyz(55.0299, 44.0079, 96.8434)
Luminance0.4401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CFB #C8FB9C
analogous
#A09CFB #CF9CFB #FB9CF7
triadic
#CF9CFB #FBCF9C #9CFBCF
tetradic
#CF9CFB #FBA09C #C8FB9C #9CF7FB
square
#CF9CFB #FBA09C #C8FB9C #9CF7FB
split-complementary
#CF9CFB #F7FB9C #9CFBA0
monochromatic
#9626F6 #B261F9 #CF9CFB #ECD7FD #F1E2FE

Accessibility & contrast

On white

2.14
#CF9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CF9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CFB
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CFB#FFFFFF#000000##000000
##CF9CFB1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#C9AAC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9cfb;
/* rgb */ color: rgb(207, 156, 251);
/* oklch */ color: oklch(77.5% 0.141 308.1);
Tailwind
colors: {
  custom: {
    50: '#dfbafd',
    500: '#cf9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cfb;
$custom-light: #dfbafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cfb",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 272.211,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77523,
    "c": 0.14138,
    "h": 308.1
  },
  "luminance": 0.44007
}

Semantic roles & 50–950 ramp

primary
#CF9CFB
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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