#CB8EFB#CB8EFB

#CB8EFB is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.8% C 0.163 H 308.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CB8EFB
RGBrgb(203, 142, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(19.1%, 43.4%, 0%, 1.6%)
CIE-LABlab(68.76, 42.85, -45.68)
CIE-LCHlch(68.76, 62.63, 313.17°)
OKLaboklab(74.81% 0.102 -0.1271)
OKLCHoklch(74.81% 0.163 308.7)
XYZxyz(51.7109, 39.0082, 96.0533)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EFB #BEFB8E
analogous
#958EFB #CB8EFB #FB8EF4
triadic
#CB8EFB #FBCB8E #8EFBCB
tetradic
#CB8EFB #FB958E #BEFB8E #8EF4FB
square
#CB8EFB #FB958E #BEFB8E #8EF4FB
split-complementary
#CB8EFB #F4FB8E #8EFB95
monochromatic
#9518F7 #B053F9 #CB8EFB #E6C9FD #F1E1FE

Accessibility & contrast

On white

2.39
#CB8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CB8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EFB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EFB#FFFFFF#000000##000000
##CB8EFB1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#84A9F8
Tritanopia (blue-blind)
#C59FB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8efb;
/* rgb */ color: rgb(203, 142, 251);
/* oklch */ color: oklch(74.8% 0.163 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0fd',
    500: '#cb8efb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8efb;
$custom-light: #ddb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8efb",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 273.578,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.16294,
    "h": 308.7
  },
  "luminance": 0.39008
}

Semantic roles & 50–950 ramp

primary
#CB8EFB
secondary
#E4F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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