#CA76F8#CA76F8

#CA76F8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.9% C 0.197 H 312.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CA76F8
RGBrgb(202, 118, 248)
HSLhsl(279, 90%, 72%)
HSVhsv(279, 52%, 97%)
CMYKcmyk(18.5%, 52.4%, 0%, 2.7%)
CIE-LABlab(63.58, 54.52, -52.21)
CIE-LCHlch(63.58, 75.49, 316.24°)
OKLaboklab(70.89% 0.1325 -0.146)
OKLCHoklch(70.89% 0.197 312.2)
XYZxyz(47.7759, 32.2918, 92.5049)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA76F8 #A4F876
analogous
#8976F8 #CA76F8 #F876E5
triadic
#CA76F8 #F8CA76 #76F8CA
tetradic
#CA76F8 #F88976 #A4F876 #76E5F8
square
#CA76F8 #F88976 #A4F876 #76E5F8
split-complementary
#CA76F8 #E5F876 #76F889
monochromatic
#9A0CE8 #B33CF5 #CA76F8 #E1B0FB #F4E2FE

Accessibility & contrast

On white

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

On black

7.46
#CA76F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA76F8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA76F8#FFFFFF#000000##000000
##CA76F81.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#C58CAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca76f8;
/* rgb */ color: rgb(202, 118, 248);
/* oklch */ color: oklch(70.9% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#dda0fb',
    500: '#ca76f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca76f8;
$custom-light: #dda0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca76f8",
  "rgb": {
    "r": 202,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 278.769,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70892,
    "c": 0.19717,
    "h": 312.2
  },
  "luminance": 0.32291
}

Semantic roles & 50–950 ramp

primary
#CA76F8
secondary
#E0F5D4
accent
#E60051
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA76F8

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

Preview Lab → · Contrast checker → · Palette generator →

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