#CB8FF8#CB8FF8

#CB8FF8 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.8% C 0.158 H 309.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CB8FF8
RGBrgb(203, 143, 248)
HSLhsl(274, 88%, 77%)
HSVhsv(274, 42%, 97%)
CMYKcmyk(18.1%, 42.3%, 0%, 2.7%)
CIE-LABlab(68.84, 41.66, -43.92)
CIE-LCHlch(68.84, 60.53, 313.49°)
OKLaboklab(74.83% 0.1001 -0.122)
OKLCHoklch(74.83% 0.158 309.4)
XYZxyz(51.3912, 39.1194, 93.6322)
Luminance0.3912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FF8 #BCF88F
analogous
#978FF8 #CB8FF8 #F88FF0
triadic
#CB8FF8 #F8CB8F #8FF8CB
tetradic
#CB8FF8 #F8978F #BCF88F #8FF0F8
square
#CB8FF8 #F8978F #BCF88F #8FF0F8
split-complementary
#CB8FF8 #F0F88F #8FF897
monochromatic
#961CF1 #B055F4 #CB8FF8 #E6C9FC #F2E2FD

Accessibility & contrast

On white

2.38
#CB8FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CB8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FF8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FF8#FFFFFF#000000##000000
##CB8FF81.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#C59FB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8ff8;
/* rgb */ color: rgb(203, 143, 248);
/* oklch */ color: oklch(74.8% 0.158 309.4);
Tailwind
colors: {
  custom: {
    50: '#dcb1fb',
    500: '#cb8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ff8;
$custom-light: #dcb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ff8",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 274.286,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74828,
    "c": 0.1578,
    "h": 309.4
  },
  "luminance": 0.39119
}

Semantic roles & 50–950 ramp

primary
#CB8FF8
secondary
#E3F5D6
accent
#E50162
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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