#CB8BF2#CB8BF2

#CB8BF2 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.157 H 311.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CB8BF2
RGBrgb(203, 139, 242)
HSLhsl(277, 80%, 75%)
HSVhsv(277, 43%, 95%)
CMYKcmyk(16.1%, 42.6%, 0%, 5.1%)
CIE-LABlab(67.71, 42.52, -42.41)
CIE-LCHlch(67.71, 60.05, 315.08°)
OKLaboklab(73.89% 0.1046 -0.1176)
OKLCHoklch(73.89% 0.157 311.6)
XYZxyz(49.8854, 37.5735, 88.6117)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BF2 #B2F28B
analogous
#988BF2 #CB8BF2 #F28BE5
triadic
#CB8BF2 #F2CB8B #8BF2CB
tetradic
#CB8BF2 #F2988B #B2F28B #8BE5F2
square
#CB8BF2 #F2988B #B2F28B #8BE5F2
split-complementary
#CB8BF2 #E5F28B #8BF298
monochromatic
#9A1DE6 #B254EC #CB8BF2 #E4C2F8 #F3E3FC

Accessibility & contrast

On white

2.47
#CB8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CB8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BF2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BF2#FFFFFF#000000##000000
##CB8BF21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#C79AB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8bf2;
/* rgb */ color: rgb(203, 139, 242);
/* oklch */ color: oklch(73.9% 0.157 311.6);
Tailwind
colors: {
  custom: {
    50: '#dcaef6',
    500: '#cb8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bf2;
$custom-light: #dcaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bf2",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 277.282,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7389,
    "c": 0.15742,
    "h": 311.6
  },
  "luminance": 0.37573
}

Semantic roles & 50–950 ramp

primary
#CB8BF2
secondary
#E2F4D7
accent
#DC0959
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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