#CA74FC#CA74FC

#CA74FC is a light, highly saturated violet. Relative luminance 0.321; OKLCH L 70.8% C 0.204 H 311.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CA74FC
RGBrgb(202, 116, 252)
HSLhsl(278, 96%, 72%)
HSVhsv(278, 54%, 99%)
CMYKcmyk(19.8%, 54%, 0%, 1.2%)
CIE-LABlab(63.41, 56.37, -54.69)
CIE-LCHlch(63.41, 78.54, 315.87°)
OKLaboklab(70.83% 0.1354 -0.1532)
OKLCHoklch(70.83% 0.204 311.5)
XYZxyz(48.1700, 32.0767, 95.7305)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74FC #A6FC74
analogous
#8674FC #CA74FC #FC74EA
triadic
#CA74FC #FCCA74 #74FCCA
tetradic
#CA74FC #FC8674 #A6FC74 #74EAFC
square
#CA74FC #FC8674 #A6FC74 #74EAFC
split-complementary
#CA74FC #EAFC74 #74FC86
monochromatic
#9A05F0 #B338FB #CA74FC #E1B0FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.42
#CA74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74FC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74FC#FFFFFF#000000##000000
##CA74FC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#C48BAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74fc;
/* rgb */ color: rgb(202, 116, 252);
/* oklch */ color: oklch(70.8% 0.204 311.5);
Tailwind
colors: {
  custom: {
    50: '#dd9ffe',
    500: '#ca74fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca74fc;
$custom-light: #dd9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74fc",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 277.941,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70828,
    "c": 0.20445,
    "h": 311.5
  },
  "luminance": 0.32076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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