#CB93FF#CB93FF

#CB93FF is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.8% C 0.160 H 306.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CB93FF
RGBrgb(203, 147, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20.4%, 42.4%, 0%, 0%)
CIE-LABlab(70.02, 41.03, -45.87)
CIE-LCHlch(70.02, 61.54, 311.81°)
OKLaboklab(75.82% 0.0958 -0.1277)
OKLCHoklch(75.82% 0.16 306.9)
XYZxyz(53.1087, 40.7844, 99.6627)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93FF #C7FF93
analogous
#9593FF #CB93FF #FF93FD
triadic
#CB93FF #FFCB93 #93FFCB
tetradic
#CB93FF #FF9593 #C7FF93 #93FDFF
square
#CB93FF #FF9593 #C7FF93 #93FDFF
split-complementary
#CB93FF #FDFF93 #93FF95
monochromatic
#9019FF #AE56FF #CB93FF #E8D0FF #F0E0FF

Accessibility & contrast

On white

2.29
#CB93FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#CB93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93FF
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93FF#FFFFFF#000000##000000
##CB93FF1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#87ACFC
Tritanopia (blue-blind)
#C3A4BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb93ff;
/* rgb */ color: rgb(203, 147, 255);
/* oklch */ color: oklch(75.8% 0.160 306.9);
Tailwind
colors: {
  custom: {
    50: '#dcb3ff',
    500: '#cb93ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb93ff;
$custom-light: #dcb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93ff",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 271.111,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75823,
    "c": 0.15959,
    "h": 306.9
  },
  "luminance": 0.40784
}

Semantic roles & 50–950 ramp

primary
#CB93FF
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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