#CA7BE1#CA7BE1

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

Color values

HEX#CA7BE1
RGBrgb(202, 123, 225)
HSLhsl(286, 63%, 68%)
HSVhsv(286, 45%, 88%)
CMYKcmyk(10.2%, 45.3%, 0%, 11.8%)
CIE-LABlab(63.48, 47.22, -39.65)
CIE-LCHlch(63.48, 61.65, 319.98°)
OKLaboklab(70.45% 0.123 -0.1096)
OKLCHoklch(70.45% 0.165 318.3)
XYZxyz(45.0288, 32.1602, 75.0551)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BE1 #92E17B
analogous
#977BE1 #CA7BE1 #E17BC5
triadic
#CA7BE1 #E1CA7B #7BE1CA
tetradic
#CA7BE1 #E1977B #92E17B #7BC5E1
square
#CA7BE1 #E1977B #92E17B #7BC5E1
split-complementary
#CA7BE1 #C5E17B #7BE197
monochromatic
#982AB8 #B649D6 #CA7BE1 #DEADEC #F2DFF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7BE1#FFFFFF#000000##000000
##CA7BE11.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)
#6A94E5
Deuteranopia (green-blind)
#809CDE
Tritanopia (blue-blind)
#CA89A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7be1;
/* rgb */ color: rgb(202, 123, 225);
/* oklch */ color: oklch(70.5% 0.165 318.3);
Tailwind
colors: {
  custom: {
    50: '#dca3eb',
    500: '#ca7be1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7be1;
$custom-light: #dca3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7be1",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 286.471,
    "s": 62.963,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70452,
    "c": 0.16478,
    "h": 318.3
  },
  "luminance": 0.32159
}

Semantic roles & 50–950 ramp

primary
#CA7BE1
secondary
#D3EBCC
accent
#CB1B42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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