#CA5BF2#CA5BF2

#CA5BF2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.230 H 316.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CA5BF2
RGBrgb(202, 91, 242)
HSLhsl(284, 85%, 65%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.5%, 62.4%, 0%, 5.1%)
CIE-LABlab(58.46, 66.19, -57.04)
CIE-LCHlch(58.46, 87.38, 319.25°)
OKLaboklab(67.05% 0.1654 -0.1599)
OKLCHoklch(67.05% 0.23 316)
XYZxyz(44.1228, 26.4511, 86.7685)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF2 #83F25B
analogous
#7E5BF2 #CA5BF2 #F25BCE
triadic
#CA5BF2 #F2CA5B #5BF2CA
tetradic
#CA5BF2 #F27E5B #83F25B #5BCEF2
square
#CA5BF2 #F27E5B #83F25B #5BCEF2
split-complementary
#CA5BF2 #CEF25B #5BF27E
monochromatic
#940FC3 #B822EE #CA5BF2 #DC94F6 #EFCCFB

Accessibility & contrast

On white

3.34
#CA5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CA5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF2#FFFFFF#000000##000000
##CA5BF21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#C8769F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5bf2;
/* rgb */ color: rgb(202, 91, 242);
/* oklch */ color: oklch(67.0% 0.230 316.0);
Tailwind
colors: {
  custom: {
    50: '#de90f7',
    500: '#ca5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf2;
$custom-light: #de90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf2",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 284.106,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67047,
    "c": 0.2301,
    "h": 316
  },
  "luminance": 0.2645
}

Semantic roles & 50–950 ramp

primary
#CA5BF2
secondary
#C8EEBB
accent
#E2043F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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