#CA7BEF#CA7BEF

#CA7BEF is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.180 H 314.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CA7BEF
RGBrgb(202, 123, 239)
HSLhsl(281, 78%, 71%)
HSVhsv(281, 49%, 94%)
CMYKcmyk(15.5%, 48.5%, 0%, 6.3%)
CIE-LABlab(64.13, 50.07, -46.39)
CIE-LCHlch(64.13, 68.26, 317.19°)
OKLaboklab(71.15% 0.125 -0.1291)
OKLCHoklch(71.15% 0.18 314.1)
XYZxyz(47.0175, 32.9557, 85.5289)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BEF #A0EF7B
analogous
#907BEF #CA7BEF #EF7BDA
triadic
#CA7BEF #EFCA7B #7BEFCA
tetradic
#CA7BEF #EF907B #A0EF7B #7BDAEF
square
#CA7BEF #EF907B #A0EF7B #7BDAEF
split-complementary
#CA7BEF #DAEF7B #7BEF90
monochromatic
#9A1AD6 #B444E8 #CA7BEF #E0B2F6 #F4E4FC

Accessibility & contrast

On white

2.77
#CA7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CA7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BEF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BEF#FFFFFF#000000##000000
##CA7BEF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#C78DAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7bef;
/* rgb */ color: rgb(202, 123, 239);
/* oklch */ color: oklch(71.1% 0.180 314.1);
Tailwind
colors: {
  custom: {
    50: '#dca3f5',
    500: '#ca7bef',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bef;
$custom-light: #dca3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bef",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 280.862,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71148,
    "c": 0.1797,
    "h": 314.1
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

primary
#CA7BEF
secondary
#DDF2D3
accent
#DB0B4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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