#CB88EF#CB88EF

#CB88EF is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.3% C 0.159 H 312.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CB88EF
RGBrgb(203, 136, 239)
HSLhsl(279, 76%, 74%)
HSVhsv(279, 43%, 94%)
CMYKcmyk(15.1%, 43.1%, 0%, 6.3%)
CIE-LABlab(66.93, 43.49, -41.98)
CIE-LCHlch(66.93, 60.45, 316.02°)
OKLaboklab(73.26% 0.1083 -0.1164)
OKLCHoklch(73.26% 0.159 312.9)
XYZxyz(49.0101, 36.5378, 86.1153)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB88EF #ACEF88
analogous
#9788EF #CB88EF #EF88DF
triadic
#CB88EF #EFCB88 #88EFCB
tetradic
#CB88EF #EF9788 #ACEF88 #88DFEF
square
#CB88EF #EF9788 #ACEF88 #88DFEF
split-complementary
#CB88EF #DFEF88 #88EF97
monochromatic
#9B1EDF #B352E8 #CB88EF #E3BEF6 #F3E4FB

Accessibility & contrast

On white

2.53
#CB88EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CB88EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB88EF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB88EF#FFFFFF#000000##000000
##CB88EF1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#85A5EC
Tritanopia (blue-blind)
#C897B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb88ef;
/* rgb */ color: rgb(203, 136, 239);
/* oklch */ color: oklch(73.3% 0.159 312.9);
Tailwind
colors: {
  custom: {
    50: '#dcacf4',
    500: '#cb88ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb88ef;
$custom-light: #dcacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb88ef",
  "rgb": {
    "r": 203,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 279.029,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73264,
    "c": 0.15897,
    "h": 312.9
  },
  "luminance": 0.36537
}

Semantic roles & 50–950 ramp

primary
#CB88EF
secondary
#E1F3D8
accent
#D80D54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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