#CB93EF#CB93EF

#CB93EF is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.1% C 0.141 H 311.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CB93EF
RGBrgb(203, 147, 239)
HSLhsl(277, 74%, 76%)
HSVhsv(277, 38%, 94%)
CMYKcmyk(15.1%, 38.5%, 0%, 6.3%)
CIE-LABlab(69.32, 37.56, -38.23)
CIE-LCHlch(69.32, 53.60, 314.49°)
OKLaboklab(75.07% 0.0928 -0.1056)
OKLCHoklch(75.07% 0.141 311.3)
XYZxyz(50.6396, 39.7967, 86.6585)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93EF #B7EF93
analogous
#9D93EF #CB93EF #EF93E5
triadic
#CB93EF #EFCB93 #93EFCB
tetradic
#CB93EF #EF9D93 #B7EF93 #93E5EF
square
#CB93EF #EF9D93 #B7EF93 #93E5EF
split-complementary
#CB93EF #E5EF93 #93EF9D
monochromatic
#9828DF #B15EE7 #CB93EF #E5C8F7 #F2E4FB

Accessibility & contrast

On white

2.34
#CB93EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CB93EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93EF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93EF#FFFFFF#000000##000000
##CB93EF1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#8FAAEC
Tritanopia (blue-blind)
#C7A0B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb93ef;
/* rgb */ color: rgb(203, 147, 239);
/* oklch */ color: oklch(75.1% 0.141 311.3);
Tailwind
colors: {
  custom: {
    50: '#dcb3f4',
    500: '#cb93ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb93ef;
$custom-light: #dcb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93ef",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 276.522,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75066,
    "c": 0.14062,
    "h": 311.3
  },
  "luminance": 0.39796
}

Semantic roles & 50–950 ramp

primary
#CB93EF
secondary
#E3F3D8
accent
#D60F5D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB93EF

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

Preview Lab → · Contrast checker → · Palette generator →

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