#CB8EF8#CB8EF8

#CB8EF8 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.7% C 0.159 H 309.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CB8EF8
RGBrgb(203, 142, 248)
HSLhsl(275, 88%, 76%)
HSVhsv(275, 43%, 97%)
CMYKcmyk(18.1%, 42.7%, 0%, 2.7%)
CIE-LABlab(68.62, 42.20, -44.26)
CIE-LCHlch(68.62, 61.15, 313.63°)
OKLaboklab(74.67% 0.1015 -0.123)
OKLCHoklch(74.67% 0.159 309.5)
XYZxyz(51.2417, 38.8205, 93.5824)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EF8 #BBF88E
analogous
#968EF8 #CB8EF8 #F88EF0
triadic
#CB8EF8 #F8CB8E #8EF8CB
tetradic
#CB8EF8 #F8968E #BBF88E #8EF0F8
square
#CB8EF8 #F8968E #BBF88E #8EF0F8
split-complementary
#CB8EF8 #F0F88E #8EF896
monochromatic
#961BF1 #B054F4 #CB8EF8 #E6C8FC #F2E2FD

Accessibility & contrast

On white

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

On black

8.76
#CB8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EF8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EF8#FFFFFF#000000##000000
##CB8EF81.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#86A8F5
Tritanopia (blue-blind)
#C59EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8ef8;
/* rgb */ color: rgb(203, 142, 248);
/* oklch */ color: oklch(74.7% 0.159 309.5);
Tailwind
colors: {
  custom: {
    50: '#dcb0fb',
    500: '#cb8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ef8;
$custom-light: #dcb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ef8",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 274.528,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74665,
    "c": 0.15944,
    "h": 309.5
  },
  "luminance": 0.3882
}

Semantic roles & 50–950 ramp

primary
#CB8EF8
secondary
#E3F5D6
accent
#E50162
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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