#CA74FE#CA74FE

#CA74FE is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 70.9% C 0.207 H 311.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CA74FE
RGBrgb(202, 116, 254)
HSLhsl(277, 99%, 73%)
HSVhsv(277, 54%, 100%)
CMYKcmyk(20.5%, 54.3%, 0%, 0.4%)
CIE-LABlab(63.51, 56.80, -55.62)
CIE-LCHlch(63.51, 79.50, 315.60°)
OKLaboklab(70.94% 0.1355 -0.1559)
OKLCHoklch(70.94% 0.207 311)
XYZxyz(48.4886, 32.2041, 97.4084)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74FE #A8FE74
analogous
#8574FE #CA74FE #FE74ED
triadic
#CA74FE #FECA74 #74FECA
tetradic
#CA74FE #FE8574 #A8FE74 #74EDFE
square
#CA74FE #FE8574 #A8FE74 #74EDFE
split-complementary
#CA74FE #EDFE74 #74FE85
monochromatic
#9A02F6 #B337FE #CA74FE #E1B1FE #F3E1FF

Accessibility & contrast

On white

2.82
#CA74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CA74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74FE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74FE#FFFFFF#000000##000000
##CA74FE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#699BFB
Tritanopia (blue-blind)
#C48CAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca74fe;
/* rgb */ color: rgb(202, 116, 254);
/* oklch */ color: oklch(70.9% 0.207 311.0);
Tailwind
colors: {
  custom: {
    50: '#dd9fff',
    500: '#ca74fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca74fe;
$custom-light: #dd9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74fe",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 277.391,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7094,
    "c": 0.20656,
    "h": 311
  },
  "luminance": 0.32203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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