#CA93FC#CA93FC

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

Color values

HEX#CA93FC
RGBrgb(202, 147, 252)
HSLhsl(271, 95%, 78%)
HSVhsv(271, 42%, 99%)
CMYKcmyk(19.8%, 41.7%, 0%, 1.2%)
CIE-LABlab(69.79, 40.09, -44.61)
CIE-LCHlch(69.79, 59.98, 311.94°)
OKLaboklab(75.58% 0.0941 -0.124)
OKLCHoklch(75.58% 0.156 307.2)
XYZxyz(52.3581, 40.4527, 97.1265)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93FC #C5FC93
analogous
#9593FC #CA93FC #FC93F9
triadic
#CA93FC #FCCA93 #93FCCA
tetradic
#CA93FC #FC9593 #C5FC93 #93F9FC
square
#CA93FC #FC9593 #C5FC93 #93F9FC
split-complementary
#CA93FC #F9FC93 #93FC95
monochromatic
#901CF9 #AD57FA #CA93FC #E7CFFE #F0E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA93FC#FFFFFF#000000##000000
##CA93FC1.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)
#7BA8FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#C3A4BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca93fc;
/* rgb */ color: rgb(202, 147, 252);
/* oklch */ color: oklch(75.6% 0.156 307.2);
Tailwind
colors: {
  custom: {
    50: '#dcb3fe',
    500: '#ca93fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca93fc;
$custom-light: #dcb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93fc",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 271.429,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7558,
    "c": 0.1557,
    "h": 307.2
  },
  "luminance": 0.40452
}

Semantic roles & 50–950 ramp

primary
#CA93FC
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA93FC

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

Preview Lab → · Contrast checker → · Palette generator →

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