#CB8DF8#CB8DF8

#CB8DF8 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.5% C 0.161 H 309.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CB8DF8
RGBrgb(203, 141, 248)
HSLhsl(275, 88%, 76%)
HSVhsv(275, 43%, 97%)
CMYKcmyk(18.1%, 43.1%, 0%, 2.7%)
CIE-LABlab(68.41, 42.73, -44.60)
CIE-LCHlch(68.41, 61.76, 313.78°)
OKLaboklab(74.5% 0.1029 -0.124)
OKLCHoklch(74.5% 0.161 309.7)
XYZxyz(51.0936, 38.5243, 93.5331)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DF8 #BAF88D
analogous
#968DF8 #CB8DF8 #F88DF0
triadic
#CB8DF8 #F8CB8D #8DF8CB
tetradic
#CB8DF8 #F8968D #BAF88D #8DF0F8
square
#CB8DF8 #F8968D #BAF88D #8DF0F8
split-complementary
#CB8DF8 #F0F88D #8DF896
monochromatic
#961AF1 #B153F4 #CB8DF8 #E5C7FC #F2E2FD

Accessibility & contrast

On white

2.41
#CB8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CB8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DF8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DF8#FFFFFF#000000##000000
##CB8DF81.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#C69EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8df8;
/* rgb */ color: rgb(203, 141, 248);
/* oklch */ color: oklch(74.5% 0.161 309.7);
Tailwind
colors: {
  custom: {
    50: '#dcaffb',
    500: '#cb8df8',
    950: '#000000',
  },
}
SCSS
$custom: #cb8df8;
$custom-light: #dcaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8df8",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 274.766,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74503,
    "c": 0.16107,
    "h": 309.7
  },
  "luminance": 0.38524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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