#CF8BF7#CF8BF7

#CF8BF7 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.165 H 312.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CF8BF7
RGBrgb(207, 139, 247)
HSLhsl(278, 87%, 76%)
HSVhsv(278, 44%, 97%)
CMYKcmyk(16.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(68.35, 44.71, -44.11)
CIE-LCHlch(68.35, 62.81, 315.39°)
OKLaboklab(74.54% 0.1101 -0.1224)
OKLCHoklch(74.54% 0.165 312)
XYZxyz(51.7503, 38.4470, 92.6725)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BF7 #B3F78B
analogous
#998BF7 #CF8BF7 #F78BE9
triadic
#CF8BF7 #F7CF8B #8BF7CF
tetradic
#CF8BF7 #F7998B #B3F78B #8BE9F7
square
#CF8BF7 #F7998B #B3F78B #8BE9F7
split-complementary
#CF8BF7 #E9F78B #8BF799
monochromatic
#A018EF #B752F3 #CF8BF7 #E7C4FB #F3E2FD

Accessibility & contrast

On white

2.42
#CF8BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CF8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BF7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BF7#FFFFFF#000000##000000
##CF8BF71.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#CB9BB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8bf7;
/* rgb */ color: rgb(207, 139, 247);
/* oklch */ color: oklch(74.5% 0.165 312.0);
Tailwind
colors: {
  custom: {
    50: '#dfaefa',
    500: '#cf8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bf7;
$custom-light: #dfaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bf7",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 277.778,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7454,
    "c": 0.16468,
    "h": 312
  },
  "luminance": 0.38446
}

Semantic roles & 50–950 ramp

primary
#CF8BF7
secondary
#E1F5D6
accent
#E40255
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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