#CF8EFB#CF8EFB

#CF8EFB is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.2% C 0.164 H 310.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CF8EFB
RGBrgb(207, 142, 251)
HSLhsl(276, 93%, 77%)
HSVhsv(276, 43%, 98%)
CMYKcmyk(17.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(69.17, 43.96, -45.01)
CIE-LCHlch(69.17, 62.92, 314.33°)
OKLaboklab(75.21% 0.1066 -0.1251)
OKLCHoklch(75.21% 0.164 310.4)
XYZxyz(52.8146, 39.5773, 96.1050)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EFB #BAFB8E
analogous
#998EFB #CF8EFB #FB8EF0
triadic
#CF8EFB #FBCF8E #8EFBCF
tetradic
#CF8EFB #FB998E #BAFB8E #8EF0FB
square
#CF8EFB #FB998E #BAFB8E #8EF0FB
split-complementary
#CF8EFB #F0FB8E #8EFB99
monochromatic
#9D18F7 #B653F9 #CF8EFB #E8C9FD #F2E1FE

Accessibility & contrast

On white

2.36
#CF8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CF8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EFB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EFB#FFFFFF#000000##000000
##CF8EFB1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#CA9FB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8efb;
/* rgb */ color: rgb(207, 142, 251);
/* oklch */ color: oklch(75.2% 0.164 310.4);
Tailwind
colors: {
  custom: {
    50: '#dfb0fd',
    500: '#cf8efb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8efb;
$custom-light: #dfb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8efb",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 275.78,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75213,
    "c": 0.16435,
    "h": 310.4
  },
  "luminance": 0.39576
}

Semantic roles & 50–950 ramp

primary
#CF8EFB
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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