#CF8BFC#CF8BFC

#CF8BFC is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.8% C 0.170 H 310.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CF8BFC
RGBrgb(207, 139, 252)
HSLhsl(276, 95%, 77%)
HSVhsv(276, 45%, 99%)
CMYKcmyk(17.9%, 44.8%, 0%, 1.2%)
CIE-LABlab(68.58, 45.77, -46.48)
CIE-LCHlch(68.58, 65.24, 314.56°)
OKLaboklab(74.79% 0.1109 -0.1293)
OKLCHoklch(74.79% 0.17 310.6)
XYZxyz(52.5323, 38.7598, 96.7906)
Luminance0.3876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BFC #B8FC8B
analogous
#978BFC #CF8BFC #FC8BF1
triadic
#CF8BFC #FCCF8B #8BFCCF
tetradic
#CF8BFC #FC978B #B8FC8B #8BF1FC
square
#CF8BFC #FC978B #B8FC8B #8BF1FC
split-complementary
#CF8BFC #F1FC8B #8BFC97
monochromatic
#9E14F9 #B64FFA #CF8BFC #E8C7FE #F3E1FE

Accessibility & contrast

On white

2.40
#CF8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#CF8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BFC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BFC#FFFFFF#000000##000000
##CF8BFC1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#CA9DB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8bfc;
/* rgb */ color: rgb(207, 139, 252);
/* oklch */ color: oklch(74.8% 0.170 310.6);
Tailwind
colors: {
  custom: {
    50: '#dfaefe',
    500: '#cf8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bfc;
$custom-light: #dfaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bfc",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 276.106,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74786,
    "c": 0.17035,
    "h": 310.6
  },
  "luminance": 0.38759
}

Semantic roles & 50–950 ramp

primary
#CF8BFC
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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