#CA4BE7#CA4BE7

#CA4BE7 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.7% C 0.241 H 319.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CA4BE7
RGBrgb(202, 75, 231)
HSLhsl(289, 76%, 60%)
HSVhsv(289, 68%, 91%)
CMYKcmyk(12.6%, 67.5%, 0%, 9.4%)
CIE-LABlab(55.44, 70.76, -55.72)
CIE-LCHlch(55.44, 90.06, 321.78°)
OKLaboklab(64.67% 0.1832 -0.156)
OKLCHoklch(64.67% 0.241 319.6)
XYZxyz(41.2952, 23.3602, 77.9196)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4BE7 #68E74B
analogous
#7C4BE7 #CA4BE7 #E74BB6
triadic
#CA4BE7 #E7CA4B #4BE7CA
tetradic
#CA4BE7 #E77C4B #68E74B #4BB6E7
square
#CA4BE7 #E77C4B #68E74B #4BB6E7
split-complementary
#CA4BE7 #B6E74B #4BE77C
monochromatic
#8816A2 #B51DD8 #CA4BE7 #DA81EE #EAB7F5

Accessibility & contrast

On white

3.70
#CA4BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CA4BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4BE7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4BE7#FFFFFF#000000##000000
##CA4BE71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#017CEC
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#CA6894
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca4be7;
/* rgb */ color: rgb(202, 75, 231);
/* oklch */ color: oklch(64.7% 0.241 319.6);
Tailwind
colors: {
  custom: {
    50: '#de87ef',
    500: '#ca4be7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4be7;
$custom-light: #de87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4be7",
  "rgb": {
    "r": 202,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 288.846,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.24057,
    "h": 319.6
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#CA4BE7
secondary
#B4E5A9
accent
#F33558
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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