#CB93FE#CB93FE

#CB93FE is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.8% C 0.158 H 307.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CB93FE
RGBrgb(203, 147, 254)
HSLhsl(271, 98%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20.1%, 42.1%, 0%, 0.4%)
CIE-LABlab(69.98, 40.81, -45.40)
CIE-LCHlch(69.98, 61.04, 311.95°)
OKLaboklab(75.78% 0.0956 -0.1263)
OKLCHoklch(75.78% 0.158 307.1)
XYZxyz(52.9482, 40.7202, 98.8171)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93FE #C6FE93
analogous
#9593FE #CB93FE #FE93FB
triadic
#CB93FE #FECB93 #93FECB
tetradic
#CB93FE #FE9593 #C6FE93 #93FBFE
square
#CB93FE #FE9593 #C6FE93 #93FBFE
split-complementary
#CB93FE #FBFE93 #93FE95
monochromatic
#911AFD #AE56FD #CB93FE #E8D0FF #F0E1FF

Accessibility & contrast

On white

2.30
#CB93FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CB93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93FE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93FE#FFFFFF#000000##000000
##CB93FE1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#C4A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb93fe;
/* rgb */ color: rgb(203, 147, 254);
/* oklch */ color: oklch(75.8% 0.158 307.1);
Tailwind
colors: {
  custom: {
    50: '#dcb3ff',
    500: '#cb93fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb93fe;
$custom-light: #dcb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93fe",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 271.402,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.1584,
    "h": 307.1
  },
  "luminance": 0.4072
}

Semantic roles & 50–950 ramp

primary
#CB93FE
secondary
#E5F7D4
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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