#CF8BFD#CF8BFD

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

Color values

HEX#CF8BFD
RGBrgb(207, 139, 253)
HSLhsl(276, 97%, 77%)
HSVhsv(276, 45%, 99%)
CMYKcmyk(18.2%, 45.1%, 0%, 0.8%)
CIE-LABlab(68.62, 45.99, -46.95)
CIE-LCHlch(68.62, 65.72, 314.40°)
OKLaboklab(74.83% 0.111 -0.1307)
OKLCHoklch(74.83% 0.171 310.4)
XYZxyz(52.6911, 38.8233, 97.6274)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BFD #B9FD8B
analogous
#968BFD #CF8BFD #FD8BF2
triadic
#CF8BFD #FDCF8B #8BFDCF
tetradic
#CF8BFD #FD968B #B9FD8B #8BF2FD
square
#CF8BFD #FD968B #B9FD8B #8BF2FD
split-complementary
#CF8BFD #F2FD8B #8BFD96
monochromatic
#9D13FB #B64FFC #CF8BFD #E8C7FE #F3E1FE

Accessibility & contrast

On white

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

On black

8.76
#CF8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BFD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BFD#FFFFFF#000000##000000
##CF8BFD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#83A9FA
Tritanopia (blue-blind)
#CA9DB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8bfd;
/* rgb */ color: rgb(207, 139, 253);
/* oklch */ color: oklch(74.8% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#dfaefe',
    500: '#cf8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bfd;
$custom-light: #dfaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bfd",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 275.789,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74835,
    "c": 0.17149,
    "h": 310.4
  },
  "luminance": 0.38822
}

Semantic roles & 50–950 ramp

primary
#CF8BFD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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