#CB8DF0#CB8DF0

#CB8DF0 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.1% C 0.152 H 311.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CB8DF0
RGBrgb(203, 141, 240)
HSLhsl(278, 77%, 75%)
HSVhsv(278, 41%, 94%)
CMYKcmyk(15.4%, 41.3%, 0%, 5.9%)
CIE-LABlab(68.05, 41.02, -40.77)
CIE-LCHlch(68.05, 57.84, 315.17°)
OKLaboklab(74.12% 0.1015 -0.1129)
OKLCHoklch(74.12% 0.152 311.9)
XYZxyz(49.8789, 38.0384, 87.1357)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DF0 #B2F08D
analogous
#9A8DF0 #CB8DF0 #F08DE3
triadic
#CB8DF0 #F0CB8D #8DF0CB
tetradic
#CB8DF0 #F09A8D #B2F08D #8DE3F0
square
#CB8DF0 #F09A8D #B2F08D #8DE3F0
split-complementary
#CB8DF0 #E3F08D #8DF09A
monochromatic
#9A21E2 #B257E9 #CB8DF0 #E4C3F7 #F3E4FB

Accessibility & contrast

On white

2.44
#CB8DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CB8DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DF0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DF0#FFFFFF#000000##000000
##CB8DF01.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F4
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#C79BB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8df0;
/* rgb */ color: rgb(203, 141, 240);
/* oklch */ color: oklch(74.1% 0.152 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcaff5',
    500: '#cb8df0',
    950: '#000000',
  },
}
SCSS
$custom: #cb8df0;
$custom-light: #dcaff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8df0",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 277.576,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.15181,
    "h": 311.9
  },
  "luminance": 0.38038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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