#CA7BE3#CA7BE3

#CA7BE3 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.5% C 0.167 H 317.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA7BE3
RGBrgb(202, 123, 227)
HSLhsl(286, 65%, 69%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(11%, 45.8%, 0%, 11%)
CIE-LABlab(63.57, 47.62, -40.62)
CIE-LCHlch(63.57, 62.59, 319.54°)
OKLaboklab(70.55% 0.1234 -0.1124)
OKLCHoklch(70.55% 0.167 317.7)
XYZxyz(45.3033, 32.2700, 76.5004)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BE3 #94E37B
analogous
#967BE3 #CA7BE3 #E37BC8
triadic
#CA7BE3 #E3CA7B #7BE3CA
tetradic
#CA7BE3 #E3967B #94E37B #7BC8E3
square
#CA7BE3 #E3967B #94E37B #7BC8E3
split-complementary
#CA7BE3 #C8E37B #7BE396
monochromatic
#9828BC #B649D8 #CA7BE3 #DEADEE #F3E0F8

Accessibility & contrast

On white

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

On black

7.45
#CA7BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BE3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BE3#FFFFFF#000000##000000
##CA7BE31.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#7F9DE0
Tritanopia (blue-blind)
#CA89A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7be3;
/* rgb */ color: rgb(202, 123, 227);
/* oklch */ color: oklch(70.5% 0.167 317.7);
Tailwind
colors: {
  custom: {
    50: '#dca3ec',
    500: '#ca7be3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7be3;
$custom-light: #dca3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7be3",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 285.577,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70549,
    "c": 0.16688,
    "h": 317.7
  },
  "luminance": 0.32269
}

Semantic roles & 50–950 ramp

primary
#CA7BE3
secondary
#D5ECCD
accent
#CD1944
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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