#CA74FA#CA74FA

#CA74FA is a light, highly saturated violet. Relative luminance 0.319; OKLCH L 70.7% C 0.202 H 311.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CA74FA
RGBrgb(202, 116, 250)
HSLhsl(279, 93%, 72%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(19.2%, 53.6%, 0%, 2%)
CIE-LABlab(63.30, 55.95, -53.76)
CIE-LCHlch(63.30, 77.59, 316.15°)
OKLaboklab(70.72% 0.1352 -0.1505)
OKLCHoklch(70.72% 0.202 311.9)
XYZxyz(47.8548, 31.9505, 94.0701)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74FA #A4FA74
analogous
#8774FA #CA74FA #FA74E7
triadic
#CA74FA #FACA74 #74FACA
tetradic
#CA74FA #FA8774 #A4FA74 #74E7FA
square
#CA74FA #FA8774 #A4FA74 #74E7FA
split-complementary
#CA74FA #E7FA74 #74FA87
monochromatic
#9A08EB #B339F8 #CA74FA #E1AFFC #F4E1FE

Accessibility & contrast

On white

2.84
#CA74FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CA74FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74FA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74FA#FFFFFF#000000##000000
##CA74FA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#C58BAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74fa;
/* rgb */ color: rgb(202, 116, 250);
/* oklch */ color: oklch(70.7% 0.202 311.9);
Tailwind
colors: {
  custom: {
    50: '#dd9ffc',
    500: '#ca74fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca74fa;
$custom-light: #dd9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74fa",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 278.507,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70718,
    "c": 0.20232,
    "h": 311.9
  },
  "luminance": 0.31949
}

Semantic roles & 50–950 ramp

primary
#CA74FA
secondary
#E0F6D4
accent
#E60052
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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