#CF8BF2#CF8BF2

#CF8BF2 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.159 H 313.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CF8BF2
RGBrgb(207, 139, 242)
HSLhsl(280, 80%, 75%)
HSVhsv(280, 43%, 95%)
CMYKcmyk(14.5%, 42.6%, 0%, 5.1%)
CIE-LABlab(68.13, 43.66, -41.72)
CIE-LCHlch(68.13, 60.39, 316.30°)
OKLaboklab(74.3% 0.1093 -0.1156)
OKLCHoklch(74.3% 0.159 313.4)
XYZxyz(50.9891, 38.1425, 88.6634)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BF2 #AEF28B
analogous
#9C8BF2 #CF8BF2 #F28BE1
triadic
#CF8BF2 #F2CF8B #8BF2CF
tetradic
#CF8BF2 #F29C8B #AEF28B #8BE1F2
square
#CF8BF2 #F29C8B #AEF28B #8BE1F2
split-complementary
#CF8BF2 #E1F28B #8BF29C
monochromatic
#A11DE6 #B854EC #CF8BF2 #E6C2F8 #F4E3FC

Accessibility & contrast

On white

2.43
#CF8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CF8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BF2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BF2#FFFFFF#000000##000000
##CF8BF21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#CC9AB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8bf2;
/* rgb */ color: rgb(207, 139, 242);
/* oklch */ color: oklch(74.3% 0.159 313.4);
Tailwind
colors: {
  custom: {
    50: '#dfaef6',
    500: '#cf8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bf2;
$custom-light: #dfaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bf2",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 279.612,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.743,
    "c": 0.15905,
    "h": 313.4
  },
  "luminance": 0.38141
}

Semantic roles & 50–950 ramp

primary
#CF8BF2
secondary
#E1F4D7
accent
#DC0951
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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