#CB8FEB#CB8FEB

#CB8FEB is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.2% C 0.143 H 313.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CB8FEB
RGBrgb(203, 143, 235)
HSLhsl(279, 70%, 74%)
HSVhsv(279, 39%, 92%)
CMYKcmyk(13.6%, 39.1%, 0%, 7.8%)
CIE-LABlab(68.27, 38.89, -37.68)
CIE-LCHlch(68.27, 54.15, 315.90°)
OKLaboklab(74.22% 0.0977 -0.104)
OKLCHoklch(74.22% 0.143 313.2)
XYZxyz(49.4440, 38.3406, 83.3770)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FEB #AFEB8F
analogous
#9D8FEB #CB8FEB #EB8FDD
triadic
#CB8FEB #EBCB8F #8FEBCB
tetradic
#CB8FEB #EB9D8F #AFEB8F #8FDDEB
square
#CB8FEB #EB9D8F #AFEB8F #8FDDEB
split-complementary
#CB8FEB #DDEB8F #8FEB9D
monochromatic
#9B27D8 #B35BE2 #CB8FEB #E3C3F4 #F3E5FA

Accessibility & contrast

On white

2.42
#CB8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#CB8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FEB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FEB#FFFFFF#000000##000000
##CB8FEB1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#C89CB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8feb;
/* rgb */ color: rgb(203, 143, 235);
/* oklch */ color: oklch(74.2% 0.143 313.2);
Tailwind
colors: {
  custom: {
    50: '#dcb1f1',
    500: '#cb8feb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8feb;
$custom-light: #dcb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8feb",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 279.13,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74215,
    "c": 0.14271,
    "h": 313.2
  },
  "luminance": 0.3834
}

Semantic roles & 50–950 ramp

primary
#CB8FEB
secondary
#E2F2D9
accent
#D21456
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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