#CA74F8#CA74F8

#CA74F8 is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.6% C 0.200 H 312.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CA74F8
RGBrgb(202, 116, 248)
HSLhsl(279, 90%, 71%)
HSVhsv(279, 53%, 97%)
CMYKcmyk(18.5%, 53.2%, 0%, 2.7%)
CIE-LABlab(63.20, 55.53, -52.82)
CIE-LCHlch(63.20, 76.64, 316.43°)
OKLaboklab(70.61% 0.1351 -0.1477)
OKLCHoklch(70.61% 0.2 312.4)
XYZxyz(47.5428, 31.8258, 92.4272)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74F8 #A2F874
analogous
#8874F8 #CA74F8 #F874E4
triadic
#CA74F8 #F8CA74 #74F8CA
tetradic
#CA74F8 #F88874 #A2F874 #74E4F8
square
#CA74F8 #F88874 #A2F874 #74E4F8
split-complementary
#CA74F8 #E4F874 #74F888
monochromatic
#9A0CE6 #B43AF5 #CA74F8 #E0AEFB #F4E2FE

Accessibility & contrast

On white

2.85
#CA74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CA74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74F8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74F8#FFFFFF#000000##000000
##CA74F81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#C58AAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74f8;
/* rgb */ color: rgb(202, 116, 248);
/* oklch */ color: oklch(70.6% 0.200 312.4);
Tailwind
colors: {
  custom: {
    50: '#dd9ffb',
    500: '#ca74f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca74f8;
$custom-light: #dd9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74f8",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 279.091,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70608,
    "c": 0.20021,
    "h": 312.4
  },
  "luminance": 0.31825
}

Semantic roles & 50–950 ramp

primary
#CA74F8
secondary
#DFF5D3
accent
#E60050
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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