#CA7BE5#CA7BE5

#CA7BE5 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.169 H 317.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CA7BE5
RGBrgb(202, 123, 229)
HSLhsl(285, 67%, 69%)
HSVhsv(285, 46%, 90%)
CMYKcmyk(11.8%, 46.3%, 0%, 10.2%)
CIE-LABlab(63.66, 48.02, -41.59)
CIE-LCHlch(63.66, 63.52, 319.11°)
OKLaboklab(70.65% 0.1237 -0.1152)
OKLCHoklch(70.65% 0.169 317)
XYZxyz(45.5809, 32.3810, 77.9626)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BE5 #96E57B
analogous
#957BE5 #CA7BE5 #E57BCB
triadic
#CA7BE5 #E5CA7B #7BE5CA
tetradic
#CA7BE5 #E5957B #96E57B #7BCBE5
square
#CA7BE5 #E5957B #96E57B #7BCBE5
split-complementary
#CA7BE5 #CBE57B #7BE595
monochromatic
#9926C0 #B548DB #CA7BE5 #DFAEEF #F3E1F9

Accessibility & contrast

On white

2.81
#CA7BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CA7BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BE5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BE5#FFFFFF#000000##000000
##CA7BE51.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E9
Deuteranopia (green-blind)
#7E9DE2
Tritanopia (blue-blind)
#C98AA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7be5;
/* rgb */ color: rgb(202, 123, 229);
/* oklch */ color: oklch(70.6% 0.169 317.0);
Tailwind
colors: {
  custom: {
    50: '#dca3ed',
    500: '#ca7be5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7be5;
$custom-light: #dca3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7be5",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 284.717,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.169,
    "h": 317
  },
  "luminance": 0.3238
}

Semantic roles & 50–950 ramp

primary
#CA7BE5
secondary
#D6EDCE
accent
#CF1746
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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