#CB8EF0#CB8EF0

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

Color values

HEX#CB8EF0
RGBrgb(203, 142, 240)
HSLhsl(277, 77%, 75%)
HSVhsv(277, 41%, 94%)
CMYKcmyk(15.4%, 40.8%, 0%, 5.9%)
CIE-LABlab(68.27, 40.48, -40.43)
CIE-LCHlch(68.27, 57.22, 315.04°)
OKLaboklab(74.28% 0.1001 -0.1119)
OKLCHoklch(74.28% 0.15 311.8)
XYZxyz(50.0271, 38.3347, 87.1851)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EF0 #B3F08E
analogous
#9A8EF0 #CB8EF0 #F08EE4
triadic
#CB8EF0 #F0CB8E #8EF0CB
tetradic
#CB8EF0 #F09A8E #B3F08E #8EE4F0
square
#CB8EF0 #F09A8E #B3F08E #8EE4F0
split-complementary
#CB8EF0 #E4F08E #8EF09A
monochromatic
#9922E2 #B258E9 #CB8EF0 #E4C4F7 #F3E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB8EF0#FFFFFF#000000##000000
##CB8EF01.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)
#7BA3F4
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#C79CB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8ef0;
/* rgb */ color: rgb(203, 142, 240);
/* oklch */ color: oklch(74.3% 0.150 311.8);
Tailwind
colors: {
  custom: {
    50: '#dcb0f5',
    500: '#cb8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ef0;
$custom-light: #dcb0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ef0",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 277.347,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.15016,
    "h": 311.8
  },
  "luminance": 0.38334
}

Semantic roles & 50–950 ramp

primary
#CB8EF0
secondary
#E2F3D8
accent
#D90D5A
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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