#CF9BF7#CF9BF7

#CF9BF7 is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.2% C 0.138 H 309.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CF9BF7
RGBrgb(207, 155, 247)
HSLhsl(274, 85%, 79%)
HSVhsv(274, 37%, 97%)
CMYKcmyk(16.2%, 37.2%, 0%, 3.1%)
CIE-LABlab(71.84, 36.10, -38.65)
CIE-LCHlch(71.84, 52.88, 313.04°)
OKLaboklab(77.17% 0.0878 -0.1068)
OKLCHoklch(77.17% 0.138 309.4)
XYZxyz(54.2389, 43.4241, 93.5020)
Luminance0.4342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BF7 #C3F79B
analogous
#A19BF7 #CF9BF7 #F79BF1
triadic
#CF9BF7 #F7CF9B #9BF7CF
tetradic
#CF9BF7 #F7A19B #C3F79B #9BF1F7
square
#CF9BF7 #F7A19B #C3F79B #9BF1F7
split-complementary
#CF9BF7 #F1F79B #9BF7A1
monochromatic
#992AEE #B462F2 #CF9BF7 #EAD4FC #F1E3FD

Accessibility & contrast

On white

2.17
#CF9BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CF9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BF7
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BF7#FFFFFF#000000##000000
##CF9BF71.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFA
Deuteranopia (green-blind)
#95B1F4
Tritanopia (blue-blind)
#CAA8BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9bf7;
/* rgb */ color: rgb(207, 155, 247);
/* oklch */ color: oklch(77.2% 0.138 309.4);
Tailwind
colors: {
  custom: {
    50: '#dfb9fa',
    500: '#cf9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bf7;
$custom-light: #dfb9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bf7",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 273.913,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77171,
    "c": 0.13824,
    "h": 309.4
  },
  "luminance": 0.43423
}

Semantic roles & 50–950 ramp

primary
#CF9BF7
secondary
#E4F5D6
accent
#E20464
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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