#CA77EF#CA77EF

#CA77EF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.6% C 0.186 H 314.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA77EF
RGBrgb(202, 119, 239)
HSLhsl(282, 79%, 70%)
HSVhsv(282, 50%, 94%)
CMYKcmyk(15.5%, 50.2%, 0%, 6.3%)
CIE-LABlab(63.33, 52.13, -47.64)
CIE-LCHlch(63.33, 70.62, 317.58°)
OKLaboklab(70.56% 0.1304 -0.1327)
OKLCHoklch(70.56% 0.186 314.5)
XYZxyz(46.5314, 31.9835, 85.3669)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA77EF #9CEF77
analogous
#8E77EF #CA77EF #EF77D8
triadic
#CA77EF #EFCA77 #77EFCA
tetradic
#CA77EF #EF8E77 #9CEF77 #77D8EF
square
#CA77EF #EF8E77 #9CEF77 #77D8EF
split-complementary
#CA77EF #D8EF77 #77EF8E
monochromatic
#9919D3 #B540E9 #CA77EF #DFAEF5 #F4E4FC

Accessibility & contrast

On white

2.84
#CA77EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CA77EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA77EF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA77EF#FFFFFF#000000##000000
##CA77EF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#C78AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca77ef;
/* rgb */ color: rgb(202, 119, 239);
/* oklch */ color: oklch(70.6% 0.186 314.5);
Tailwind
colors: {
  custom: {
    50: '#dca1f5',
    500: '#ca77ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca77ef;
$custom-light: #dca1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca77ef",
  "rgb": {
    "r": 202,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 281.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.18605,
    "h": 314.5
  },
  "luminance": 0.31982
}

Semantic roles & 50–950 ramp

primary
#CA77EF
secondary
#DBF2D0
accent
#DB0A4B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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