#CB8EFC#CB8EFC

#CB8EFC is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.9% C 0.164 H 308.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CB8EFC
RGBrgb(203, 142, 252)
HSLhsl(273, 95%, 77%)
HSVhsv(273, 44%, 99%)
CMYKcmyk(19.4%, 43.7%, 0%, 1.2%)
CIE-LABlab(68.80, 43.06, -46.15)
CIE-LCHlch(68.80, 63.13, 313.02°)
OKLaboklab(74.86% 0.1021 -0.1285)
OKLCHoklch(74.86% 0.164 308.5)
XYZxyz(51.8689, 39.0714, 96.8856)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EFC #BFFC8E
analogous
#948EFC #CB8EFC #FC8EF6
triadic
#CB8EFC #FCCB8E #8EFCCB
tetradic
#CB8EFC #FC948E #BFFC8E #8EF6FC
square
#CB8EFC #FC948E #BFFC8E #8EF6FC
split-complementary
#CB8EFC #F6FC8E #8EFC94
monochromatic
#9417F9 #B052FA #CB8EFC #E6CAFE #F1E1FE

Accessibility & contrast

On white

2.38
#CB8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CB8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EFC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EFC#FFFFFF#000000##000000
##CB8EFC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#C49FB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8efc;
/* rgb */ color: rgb(203, 142, 252);
/* oklch */ color: oklch(74.9% 0.164 308.5);
Tailwind
colors: {
  custom: {
    50: '#ddb0fe',
    500: '#cb8efc',
    950: '#000000',
  },
}
SCSS
$custom: #cb8efc;
$custom-light: #ddb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8efc",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 273.273,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74861,
    "c": 0.16411,
    "h": 308.5
  },
  "luminance": 0.39071
}

Semantic roles & 50–950 ramp

primary
#CB8EFC
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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