#CA93FB#CA93FB

#CA93FB is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.5% C 0.154 H 307.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CA93FB
RGBrgb(202, 147, 251)
HSLhsl(272, 93%, 78%)
HSVhsv(272, 41%, 98%)
CMYKcmyk(19.5%, 41.4%, 0%, 1.6%)
CIE-LABlab(69.75, 39.87, -44.14)
CIE-LCHlch(69.75, 59.48, 312.09°)
OKLaboklab(75.53% 0.0939 -0.1227)
OKLCHoklch(75.53% 0.155 307.4)
XYZxyz(52.2000, 40.3895, 96.2941)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93FB #C4FB93
analogous
#9693FB #CA93FB #FB93F8
triadic
#CA93FB #FBCA93 #93FBCA
tetradic
#CA93FB #FB9693 #C4FB93 #93F8FB
square
#CA93FB #FB9693 #C4FB93 #93F8FB
split-complementary
#CA93FB #F8FB93 #93FB96
monochromatic
#901DF7 #AD58F9 #CA93FB #E7CEFD #F1E1FE

Accessibility & contrast

On white

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

On black

9.08
#CA93FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93FB
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93FB#FFFFFF#000000##000000
##CA93FB1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#C3A3BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca93fb;
/* rgb */ color: rgb(202, 147, 251);
/* oklch */ color: oklch(75.5% 0.154 307.4);
Tailwind
colors: {
  custom: {
    50: '#dcb3fd',
    500: '#ca93fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca93fb;
$custom-light: #dcb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93fb",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 271.731,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75532,
    "c": 0.1545,
    "h": 307.4
  },
  "luminance": 0.40389
}

Semantic roles & 50–950 ramp

primary
#CA93FB
secondary
#E5F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA93FB

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

Preview Lab → · Contrast checker → · Palette generator →

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