#CA74FF#CA74FF

#CA74FF is a light, highly saturated violet. Relative luminance 0.323; OKLCH L 71.0% C 0.208 H 310.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA74FF
RGBrgb(202, 116, 255)
HSLhsl(277, 100%, 73%)
HSVhsv(277, 55%, 100%)
CMYKcmyk(20.8%, 54.5%, 0%, 0%)
CIE-LABlab(63.56, 57.01, -56.09)
CIE-LCHlch(63.56, 79.98, 315.47°)
OKLaboklab(70.99% 0.1355 -0.1573)
OKLCHoklch(70.99% 0.208 310.8)
XYZxyz(48.6492, 32.2683, 98.2540)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74FF #A9FF74
analogous
#8474FF #CA74FF #FF74EF
triadic
#CA74FF #FFCA74 #74FFCA
tetradic
#CA74FF #FF8474 #A9FF74 #74EFFF
square
#CA74FF #FF8474 #A9FF74 #74EFFF
split-complementary
#CA74FF #EFFF74 #74FF84
monochromatic
#9A00F9 #B337FF #CA74FF #E1B1FF #F3E0FF

Accessibility & contrast

On white

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

On black

7.45
#CA74FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74FF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74FF#FFFFFF#000000##000000
##CA74FF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A96FF
Deuteranopia (green-blind)
#689CFC
Tritanopia (blue-blind)
#C48CAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca74ff;
/* rgb */ color: rgb(202, 116, 255);
/* oklch */ color: oklch(71.0% 0.208 310.8);
Tailwind
colors: {
  custom: {
    50: '#dd9fff',
    500: '#ca74ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ff;
$custom-light: #dd9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ff",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 277.122,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.20763,
    "h": 310.8
  },
  "luminance": 0.32267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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