#CA74FD#CA74FD

#CA74FD is a light, highly saturated violet. Relative luminance 0.321; OKLCH L 70.9% C 0.205 H 311.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA74FD
RGBrgb(202, 116, 253)
HSLhsl(278, 97%, 72%)
HSVhsv(278, 54%, 99%)
CMYKcmyk(20.2%, 54.2%, 0%, 0.8%)
CIE-LABlab(63.46, 56.59, -55.16)
CIE-LCHlch(63.46, 79.02, 315.73°)
OKLaboklab(70.88% 0.1354 -0.1546)
OKLCHoklch(70.88% 0.206 311.2)
XYZxyz(48.3289, 32.1402, 96.5672)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74FD #A7FD74
analogous
#8574FD #CA74FD #FD74EC
triadic
#CA74FD #FDCA74 #74FDCA
tetradic
#CA74FD #FD8574 #A7FD74 #74ECFD
square
#CA74FD #FD8574 #A7FD74 #74ECFD
split-complementary
#CA74FD #ECFD74 #74FD85
monochromatic
#9A03F3 #B338FC #CA74FD #E1B0FE #F3E1FF

Accessibility & contrast

On white

2.83
#CA74FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA74FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74FD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74FD#FFFFFF#000000##000000
##CA74FD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#6A9BFA
Tritanopia (blue-blind)
#C48CAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca74fd;
/* rgb */ color: rgb(202, 116, 253);
/* oklch */ color: oklch(70.9% 0.205 311.2);
Tailwind
colors: {
  custom: {
    50: '#dd9fff',
    500: '#ca74fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca74fd;
$custom-light: #dd9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74fd",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 277.664,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.2055,
    "h": 311.2
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#CA74FD
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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