#CB8DF3#CB8DF3

#CB8DF3 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.155 H 311.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CB8DF3
RGBrgb(203, 141, 243)
HSLhsl(276, 81%, 75%)
HSVhsv(276, 42%, 95%)
CMYKcmyk(16.5%, 42%, 0%, 4.7%)
CIE-LABlab(68.18, 41.66, -42.21)
CIE-LCHlch(68.18, 59.31, 314.62°)
OKLaboklab(74.26% 0.102 -0.1171)
OKLCHoklch(74.26% 0.155 311.1)
XYZxyz(50.3283, 38.2182, 89.5022)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DF3 #B5F38D
analogous
#988DF3 #CB8DF3 #F38DE8
triadic
#CB8DF3 #F3CB8D #8DF3CB
tetradic
#CB8DF3 #F3988D #B5F38D #8DE8F3
square
#CB8DF3 #F3988D #B5F38D #8DE8F3
split-complementary
#CB8DF3 #E8F38D #8DF398
monochromatic
#981EE7 #B256ED #CB8DF3 #E4C4F9 #F2E3FC

Accessibility & contrast

On white

2.43
#CB8DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CB8DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DF3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DF3#FFFFFF#000000##000000
##CB8DF31.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F7
Deuteranopia (green-blind)
#88A7F0
Tritanopia (blue-blind)
#C79CB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8df3;
/* rgb */ color: rgb(203, 141, 243);
/* oklch */ color: oklch(74.3% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcaff7',
    500: '#cb8df3',
    950: '#000000',
  },
}
SCSS
$custom: #cb8df3;
$custom-light: #dcaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8df3",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 276.471,
    "s": 80.952,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74262,
    "c": 0.15528,
    "h": 311.1
  },
  "luminance": 0.38217
}

Semantic roles & 50–950 ramp

primary
#CB8DF3
secondary
#E2F4D7
accent
#DD085C
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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