#CF8BFB#CF8BFB

#CF8BFB is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.169 H 310.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CF8BFB
RGBrgb(207, 139, 251)
HSLhsl(276, 93%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(17.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(68.53, 45.56, -46.01)
CIE-LCHlch(68.53, 64.75, 314.72°)
OKLaboklab(74.74% 0.1107 -0.1279)
OKLCHoklch(74.74% 0.169 310.9)
XYZxyz(52.3742, 38.6966, 95.9582)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BFB #B7FB8B
analogous
#978BFB #CF8BFB #FB8BEF
triadic
#CF8BFB #FBCF8B #8BFBCF
tetradic
#CF8BFB #FB978B #B7FB8B #8BEFFB
square
#CF8BFB #FB978B #B7FB8B #8BEFFB
split-complementary
#CF8BFB #EFFB8B #8BFB97
monochromatic
#9E15F7 #B750F9 #CF8BFB #E7C6FD #F3E1FE

Accessibility & contrast

On white

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

On black

8.74
#CF8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BFB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BFB#FFFFFF#000000##000000
##CF8BFB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf8bfb;
/* rgb */ color: rgb(207, 139, 251);
/* oklch */ color: oklch(74.7% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#dfaefd',
    500: '#cf8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bfb;
$custom-light: #dfaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bfb",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 276.429,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.16921,
    "h": 310.9
  },
  "luminance": 0.38696
}

Semantic roles & 50–950 ramp

primary
#CF8BFB
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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