#CB8BEC#CB8BEC

#CB8BEC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.6% C 0.151 H 313.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CB8BEC
RGBrgb(203, 139, 236)
HSLhsl(280, 72%, 74%)
HSVhsv(280, 41%, 93%)
CMYKcmyk(14%, 41.1%, 0%, 7.5%)
CIE-LABlab(67.44, 41.26, -39.52)
CIE-LCHlch(67.44, 57.13, 316.23°)
OKLaboklab(73.61% 0.1036 -0.1093)
OKLCHoklch(73.61% 0.151 313.4)
XYZxyz(48.9991, 37.2189, 83.9434)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BEC #ACEC8B
analogous
#9A8BEC #CB8BEC #EC8BDC
triadic
#CB8BEC #ECCB8B #8BECCB
tetradic
#CB8BEC #EC9A8B #ACEC8B #8BDCEC
square
#CB8BEC #EC9A8B #ACEC8B #8BDCEC
split-complementary
#CB8BEC #DCEC8B #8BEC9A
monochromatic
#9B24D9 #B356E3 #CB8BEC #E3C0F5 #F3E5FB

Accessibility & contrast

On white

2.49
#CB8BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CB8BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BEC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BEC#FFFFFF#000000##000000
##CB8BEC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#C899B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8bec;
/* rgb */ color: rgb(203, 139, 236);
/* oklch */ color: oklch(73.6% 0.151 313.4);
Tailwind
colors: {
  custom: {
    50: '#dcaef2',
    500: '#cb8bec',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bec;
$custom-light: #dcaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bec",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 279.588,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73605,
    "c": 0.15058,
    "h": 313.4
  },
  "luminance": 0.37218
}

Semantic roles & 50–950 ramp

primary
#CB8BEC
secondary
#E1F2D9
accent
#D41254
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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