#CA73F8#CA73F8

#CA73F8 is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.5% C 0.202 H 312.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CA73F8
RGBrgb(202, 115, 248)
HSLhsl(279, 90%, 71%)
HSVhsv(279, 54%, 97%)
CMYKcmyk(18.5%, 53.6%, 0%, 2.7%)
CIE-LABlab(63.01, 56.03, -53.12)
CIE-LCHlch(63.01, 77.21, 316.53°)
OKLaboklab(70.47% 0.1364 -0.1486)
OKLCHoklch(70.47% 0.202 312.5)
XYZxyz(47.4282, 31.5965, 92.3890)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA73F8 #A1F873
analogous
#8773F8 #CA73F8 #F873E3
triadic
#CA73F8 #F8CA73 #73F8CA
tetradic
#CA73F8 #F88773 #A1F873 #73E3F8
square
#CA73F8 #F88773 #A1F873 #73E3F8
split-complementary
#CA73F8 #E3F873 #73F887
monochromatic
#9A0BE5 #B439F5 #CA73F8 #E0ADFB #F4E2FE

Accessibility & contrast

On white

2.87
#CA73F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CA73F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA73F8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA73F8#FFFFFF#000000##000000
##CA73F81.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#C589AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca73f8;
/* rgb */ color: rgb(202, 115, 248);
/* oklch */ color: oklch(70.5% 0.202 312.5);
Tailwind
colors: {
  custom: {
    50: '#dd9efb',
    500: '#ca73f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca73f8;
$custom-light: #dd9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca73f8",
  "rgb": {
    "r": 202,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 279.248,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70468,
    "c": 0.20173,
    "h": 312.5
  },
  "luminance": 0.31595
}

Semantic roles & 50–950 ramp

primary
#CA73F8
secondary
#DEF5D2
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA73F8

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

Preview Lab → · Contrast checker → · Palette generator →

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