#CA93F7#CA93F7

#CA93F7 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.3% C 0.150 H 308.5°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CA93F7
RGBrgb(202, 147, 247)
HSLhsl(273, 86%, 77%)
HSVhsv(273, 40%, 97%)
CMYKcmyk(18.2%, 40.5%, 0%, 3.1%)
CIE-LABlab(69.57, 38.99, -42.23)
CIE-LCHlch(69.57, 57.48, 312.72°)
OKLaboklab(75.34% 0.0932 -0.1172)
OKLCHoklch(75.34% 0.15 308.5)
XYZxyz(51.5762, 40.1400, 93.0084)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA93F7 #C0F793
analogous
#9893F7 #CA93F7 #F793F2
triadic
#CA93F7 #F7CA93 #93F7CA
tetradic
#CA93F7 #F79893 #C0F793 #93F2F7
square
#CA93F7 #F79893 #C0F793 #93F2F7
split-complementary
#CA93F7 #F2F793 #93F798
monochromatic
#9221EF #AE5AF3 #CA93F7 #E6CCFB #F1E3FD

Accessibility & contrast

On white

2.33
#CA93F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CA93F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA93F7
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA93F7#FFFFFF#000000##000000
##CA93F71.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FB
Deuteranopia (green-blind)
#8AABF4
Tritanopia (blue-blind)
#C4A2B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca93f7;
/* rgb */ color: rgb(202, 147, 247);
/* oklch */ color: oklch(75.3% 0.150 308.5);
Tailwind
colors: {
  custom: {
    50: '#dbb3fa',
    500: '#ca93f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca93f7;
$custom-light: #dbb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca93f7",
  "rgb": {
    "r": 202,
    "g": 147,
    "b": 247
  },
  "hsl": {
    "h": 273,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75341,
    "c": 0.14972,
    "h": 308.5
  },
  "luminance": 0.40139
}

Semantic roles & 50–950 ramp

primary
#CA93F7
secondary
#E4F5D6
accent
#E30368
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA93F7

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

Preview Lab → · Contrast checker → · Palette generator →

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