#CA74F7#CA74F7

#CA74F7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.6% C 0.199 H 312.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CA74F7
RGBrgb(202, 116, 247)
HSLhsl(279, 89%, 71%)
HSVhsv(279, 53%, 97%)
CMYKcmyk(18.2%, 53%, 0%, 3.1%)
CIE-LABlab(63.15, 55.32, -52.35)
CIE-LCHlch(63.15, 76.16, 316.58°)
OKLaboklab(70.55% 0.135 -0.1464)
OKLCHoklch(70.55% 0.199 312.7)
XYZxyz(47.3881, 31.7639, 91.6124)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74F7 #A1F774
analogous
#8874F7 #CA74F7 #F774E3
triadic
#CA74F7 #F7CA74 #74F7CA
tetradic
#CA74F7 #F78874 #A1F774 #74E3F7
square
#CA74F7 #F78874 #A1F774 #74E3F7
split-complementary
#CA74F7 #E3F774 #74F788
monochromatic
#9A0DE4 #B43AF4 #CA74F7 #E0AEFA #F4E2FD

Accessibility & contrast

On white

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

On black

7.35
#CA74F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74F7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74F7#FFFFFF#000000##000000
##CA74F71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#C68AAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca74f7;
/* rgb */ color: rgb(202, 116, 247);
/* oklch */ color: oklch(70.6% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#dd9ffa',
    500: '#ca74f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca74f7;
$custom-light: #dd9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74f7",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 279.389,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.19916,
    "h": 312.7
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

primary
#CA74F7
secondary
#DEF5D2
accent
#E6004F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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