#CB93FA#CB93FA

#CB93FA is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.6% C 0.154 H 308.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CB93FA
RGBrgb(203, 147, 250)
HSLhsl(273, 91%, 78%)
HSVhsv(273, 41%, 98%)
CMYKcmyk(18.8%, 41.2%, 0%, 2%)
CIE-LABlab(69.80, 39.93, -43.50)
CIE-LCHlch(69.80, 59.05, 312.55°)
OKLaboklab(75.58% 0.0949 -0.1208)
OKLCHoklch(75.58% 0.154 308.2)
XYZxyz(52.3143, 40.4666, 95.4788)
Luminance0.4047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93FA #C2FA93
analogous
#9793FA #CB93FA #FA93F6
triadic
#CB93FA #FACB93 #93FACB
tetradic
#CB93FA #FA9793 #C2FA93 #93F6FA
square
#CB93FA #FA9793 #C2FA93 #93F6FA
split-complementary
#CB93FA #F6FA93 #93FA97
monochromatic
#931EF5 #AF59F7 #CB93FA #E7CDFD #F1E2FE

Accessibility & contrast

On white

2.31
#CB93FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CB93FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93FA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93FA#FFFFFF#000000##000000
##CB93FA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#C5A3BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb93fa;
/* rgb */ color: rgb(203, 147, 250);
/* oklch */ color: oklch(75.6% 0.154 308.2);
Tailwind
colors: {
  custom: {
    50: '#dcb3fc',
    500: '#cb93fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb93fa;
$custom-light: #dcb3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93fa",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 272.621,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75581,
    "c": 0.15363,
    "h": 308.2
  },
  "luminance": 0.40466
}

Semantic roles & 50–950 ramp

primary
#CB93FA
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB93FA

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

Preview Lab → · Contrast checker → · Palette generator →

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