#CA74F6#CA74F6

#CA74F6 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.5% C 0.198 H 312.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CA74F6
RGBrgb(202, 116, 246)
HSLhsl(280, 88%, 71%)
HSVhsv(280, 53%, 96%)
CMYKcmyk(17.9%, 52.8%, 0%, 3.5%)
CIE-LABlab(63.10, 55.11, -51.88)
CIE-LCHlch(63.10, 75.69, 316.73°)
OKLaboklab(70.5% 0.135 -0.145)
OKLCHoklch(70.5% 0.198 312.9)
XYZxyz(47.2342, 31.7023, 90.8019)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74F6 #A0F674
analogous
#8974F6 #CA74F6 #F674E1
triadic
#CA74F6 #F6CA74 #74F6CA
tetradic
#CA74F6 #F68974 #A0F674 #74E1F6
square
#CA74F6 #F68974 #A0F674 #74E1F6
split-complementary
#CA74F6 #E1F674 #74F689
monochromatic
#9A0FE1 #B43BF2 #CA74F6 #E0ADFA #F4E2FD

Accessibility & contrast

On white

2.86
#CA74F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CA74F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74F6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74F6#FFFFFF#000000##000000
##CA74F61.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#C68AAA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74f6;
/* rgb */ color: rgb(202, 116, 246);
/* oklch */ color: oklch(70.5% 0.198 312.9);
Tailwind
colors: {
  custom: {
    50: '#dd9ffa',
    500: '#ca74f6',
    950: '#000000',
  },
}
SCSS
$custom: #ca74f6;
$custom-light: #dd9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74f6",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 279.692,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.705,
    "c": 0.1981,
    "h": 312.9
  },
  "luminance": 0.31701
}

Semantic roles & 50–950 ramp

primary
#CA74F6
secondary
#DDF4D2
accent
#E4014E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA74F6

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

Preview Lab → · Contrast checker → · Palette generator →

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