#CB8BF4#CB8BF4

#CB8BF4 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.160 H 311.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CB8BF4
RGBrgb(203, 139, 244)
HSLhsl(277, 83%, 75%)
HSVhsv(277, 43%, 96%)
CMYKcmyk(16.8%, 43%, 0%, 4.3%)
CIE-LABlab(67.79, 42.95, -43.36)
CIE-LCHlch(67.79, 61.03, 314.72°)
OKLaboklab(73.99% 0.105 -0.1204)
OKLCHoklch(73.99% 0.16 311.1)
XYZxyz(50.1875, 37.6943, 90.2023)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BF4 #B4F48B
analogous
#968BF4 #CB8BF4 #F48BE9
triadic
#CB8BF4 #F4CB8B #8BF4CB
tetradic
#CB8BF4 #F4968B #B4F48B #8BE9F4
square
#CB8BF4 #F4968B #B4F48B #8BE9F4
split-complementary
#CB8BF4 #E9F48B #8BF496
monochromatic
#991BE9 #B253EF #CB8BF4 #E4C3F9 #F2E3FC

Accessibility & contrast

On white

2.46
#CB8BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CB8BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BF4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BF4#FFFFFF#000000##000000
##CB8BF41.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F8
Deuteranopia (green-blind)
#85A6F1
Tritanopia (blue-blind)
#C79BB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8bf4;
/* rgb */ color: rgb(203, 139, 244);
/* oklch */ color: oklch(74.0% 0.160 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcaef8',
    500: '#cb8bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bf4;
$custom-light: #dcaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bf4",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 276.571,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73986,
    "c": 0.15972,
    "h": 311.1
  },
  "luminance": 0.37693
}

Semantic roles & 50–950 ramp

primary
#CB8BF4
secondary
#E2F4D7
accent
#DF065B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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