#CF8BF4#CF8BF4

#CF8BF4 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.4% C 0.161 H 312.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#CF8BF4
RGBrgb(207, 139, 244)
HSLhsl(279, 83%, 75%)
HSVhsv(279, 43%, 96%)
CMYKcmyk(15.2%, 43%, 0%, 4.3%)
CIE-LABlab(68.21, 44.08, -42.68)
CIE-LCHlch(68.21, 61.35, 315.93°)
OKLaboklab(74.4% 0.1096 -0.1183)
OKLCHoklch(74.4% 0.161 312.8)
XYZxyz(51.2911, 38.2633, 90.2540)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BF4 #B0F48B
analogous
#9A8BF4 #CF8BF4 #F48BE5
triadic
#CF8BF4 #F4CF8B #8BF4CF
tetradic
#CF8BF4 #F49A8B #B0F48B #8BE5F4
square
#CF8BF4 #F49A8B #B0F48B #8BE5F4
split-complementary
#CF8BF4 #E5F48B #8BF49A
monochromatic
#A11BE9 #B853EF #CF8BF4 #E6C3F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.65
#CF8BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BF4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BF4#FFFFFF#000000##000000
##CF8BF41.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F8
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#CC9AB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8bf4;
/* rgb */ color: rgb(207, 139, 244);
/* oklch */ color: oklch(74.4% 0.161 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfaef8',
    500: '#cf8bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bf4;
$custom-light: #dfaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bf4",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 278.857,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74395,
    "c": 0.1613,
    "h": 312.8
  },
  "luminance": 0.38262
}

Semantic roles & 50–950 ramp

primary
#CF8BF4
secondary
#E1F4D7
accent
#DF0653
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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