#CB8DFA#CB8DFA

#CB8DFA is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.163 H 309.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CB8DFA
RGBrgb(203, 141, 250)
HSLhsl(274, 92%, 77%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(18.8%, 43.6%, 0%, 2%)
CIE-LABlab(68.50, 43.17, -45.55)
CIE-LCHlch(68.50, 62.75, 313.46°)
OKLaboklab(74.6% 0.1032 -0.1267)
OKLCHoklch(74.6% 0.163 309.2)
XYZxyz(51.4056, 38.6491, 95.1759)
Luminance0.3865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DFA #BCFA8D
analogous
#958DFA #CB8DFA #FA8DF3
triadic
#CB8DFA #FACB8D #8DFACB
tetradic
#CB8DFA #FA958D #BCFA8D #8DF3FA
square
#CB8DFA #FA958D #BCFA8D #8DF3FA
split-complementary
#CB8DFA #F3FA8D #8DFA95
monochromatic
#9618F5 #B052F7 #CB8DFA #E6C8FD #F2E2FE

Accessibility & contrast

On white

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

On black

8.73
#CB8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DFA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DFA#FFFFFF#000000##000000
##CB8DFA1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#C59EB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8dfa;
/* rgb */ color: rgb(203, 141, 250);
/* oklch */ color: oklch(74.6% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#ddaffc',
    500: '#cb8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #cb8dfa;
$custom-light: #ddaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8dfa",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 274.128,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.16339,
    "h": 309.2
  },
  "luminance": 0.38648
}

Semantic roles & 50–950 ramp

primary
#CB8DFA
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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