#CF9BF3#CF9BF3

#CF9BF3 is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.0% C 0.133 H 310.6°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CF9BF3
RGBrgb(207, 155, 243)
HSLhsl(275, 79%, 78%)
HSVhsv(275, 36%, 95%)
CMYKcmyk(14.8%, 36.2%, 0%, 4.7%)
CIE-LABlab(71.68, 35.25, -36.73)
CIE-LCHlch(71.68, 50.90, 313.82°)
OKLaboklab(76.99% 0.0869 -0.1013)
OKLCHoklch(76.99% 0.133 310.6)
XYZxyz(53.6283, 43.1799, 90.2861)
Luminance0.4318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BF3 #BFF39B
analogous
#A39BF3 #CF9BF3 #F39BEB
triadic
#CF9BF3 #F3CF9B #9BF3CF
tetradic
#CF9BF3 #F3A39B #BFF39B #9BEBF3
square
#CF9BF3 #F3A39B #BFF39B #9BEBF3
split-complementary
#CF9BF3 #EBF39B #9BF3A3
monochromatic
#9B2EE6 #B564EC #CF9BF3 #E9D2FA #F2E4FC

Accessibility & contrast

On white

2.18
#CF9BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#CF9BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BF3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BF3#FFFFFF#000000##000000
##CF9BF31.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF6
Deuteranopia (green-blind)
#96B1F0
Tritanopia (blue-blind)
#CBA7BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9bf3;
/* rgb */ color: rgb(207, 155, 243);
/* oklch */ color: oklch(77.0% 0.133 310.6);
Tailwind
colors: {
  custom: {
    50: '#dfb9f7',
    500: '#cf9bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bf3;
$custom-light: #dfb9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bf3",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 243
  },
  "hsl": {
    "h": 275.455,
    "s": 78.571,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76992,
    "c": 0.13347,
    "h": 310.6
  },
  "luminance": 0.43179
}

Semantic roles & 50–950 ramp

primary
#CF9BF3
secondary
#E3F4D7
accent
#DB0B60
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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