#CB8DF7#CB8DF7

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

Color values

HEX#CB8DF7
RGBrgb(203, 141, 247)
HSLhsl(275, 87%, 76%)
HSVhsv(275, 43%, 97%)
CMYKcmyk(17.8%, 42.9%, 0%, 3.1%)
CIE-LABlab(68.36, 42.52, -44.12)
CIE-LCHlch(68.36, 61.27, 313.94°)
OKLaboklab(74.46% 0.1027 -0.1226)
OKLCHoklch(74.46% 0.16 310)
XYZxyz(50.9389, 38.4624, 92.7182)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DF7 #B9F78D
analogous
#968DF7 #CB8DF7 #F78DEE
triadic
#CB8DF7 #F7CB8D #8DF7CB
tetradic
#CB8DF7 #F7968D #B9F78D #8DEEF7
square
#CB8DF7 #F7968D #B9F78D #8DEEF7
split-complementary
#CB8DF7 #EEF78D #8DF796
monochromatic
#971BEF #B154F3 #CB8DF7 #E5C6FB #F2E2FD

Accessibility & contrast

On white

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

On black

8.69
#CB8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DF7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DF7#FFFFFF#000000##000000
##CB8DF71.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#C69DB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8df7;
/* rgb */ color: rgb(203, 141, 247);
/* oklch */ color: oklch(74.5% 0.160 310.0);
Tailwind
colors: {
  custom: {
    50: '#dcaffa',
    500: '#cb8df7',
    950: '#000000',
  },
}
SCSS
$custom: #cb8df7;
$custom-light: #dcaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8df7",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 275.094,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74455,
    "c": 0.15991,
    "h": 310
  },
  "luminance": 0.38462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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