#CA77F2#CA77F2

#CA77F2 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.189 H 313.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA77F2
RGBrgb(202, 119, 242)
HSLhsl(280, 83%, 71%)
HSVhsv(280, 51%, 95%)
CMYKcmyk(16.5%, 50.8%, 0%, 5.1%)
CIE-LABlab(63.48, 52.75, -49.07)
CIE-LCHlch(63.48, 72.05, 317.07°)
OKLaboklab(70.71% 0.1307 -0.1368)
OKLCHoklch(70.71% 0.189 313.7)
XYZxyz(46.9783, 32.1622, 87.7204)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77F2 #9FF277
analogous
#8C77F2 #CA77F2 #F277DC
triadic
#CA77F2 #F2CA77 #77F2CA
tetradic
#CA77F2 #F28C77 #9FF277 #77DCF2
square
#CA77F2 #F28C77 #9FF277 #77DCF2
split-complementary
#CA77F2 #DCF277 #77F28C
monochromatic
#9A15DA #B43FED #CA77F2 #E0AFF7 #F4E3FC

Accessibility & contrast

On white

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

On black

7.43
#CA77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77F2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77F2#FFFFFF#000000##000000
##CA77F21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#C78BAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca77f2;
/* rgb */ color: rgb(202, 119, 242);
/* oklch */ color: oklch(70.7% 0.189 313.7);
Tailwind
colors: {
  custom: {
    50: '#dca1f7',
    500: '#ca77f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca77f2;
$custom-light: #dca1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77f2",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 280.488,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70715,
    "c": 0.18923,
    "h": 313.7
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

primary
#CA77F2
secondary
#DDF3D2
accent
#DF074D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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