#CA74F9#CA74F9

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

Color values

HEX#CA74F9
RGBrgb(202, 116, 249)
HSLhsl(279, 92%, 72%)
HSVhsv(279, 53%, 98%)
CMYKcmyk(18.9%, 53.4%, 0%, 2.4%)
CIE-LABlab(63.25, 55.74, -53.29)
CIE-LCHlch(63.25, 77.12, 316.29°)
OKLaboklab(70.66% 0.1352 -0.1491)
OKLCHoklch(70.66% 0.201 312.2)
XYZxyz(47.6984, 31.8880, 93.2465)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74F9 #A3F974
analogous
#8874F9 #CA74F9 #F974E6
triadic
#CA74F9 #F9CA74 #74F9CA
tetradic
#CA74F9 #F98874 #A3F974 #74E6F9
square
#CA74F9 #F98874 #A3F974 #74E6F9
split-complementary
#CA74F9 #E6F974 #74F988
monochromatic
#9A0AE9 #B439F6 #CA74F9 #E0AFFC #F4E2FE

Accessibility & contrast

On white

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

On black

7.38
#CA74F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74F9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74F9#FFFFFF#000000##000000
##CA74F91.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#C58AAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74f9;
/* rgb */ color: rgb(202, 116, 249);
/* oklch */ color: oklch(70.7% 0.201 312.2);
Tailwind
colors: {
  custom: {
    50: '#dd9ffc',
    500: '#ca74f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca74f9;
$custom-light: #dd9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74f9",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 278.797,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.20127,
    "h": 312.2
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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