#CA7BF1#CA7BF1

#CA7BF1 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.182 H 313.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CA7BF1
RGBrgb(202, 123, 241)
HSLhsl(280, 81%, 71%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.2%, 49%, 0%, 5.5%)
CIE-LABlab(64.22, 50.49, -47.34)
CIE-LCHlch(64.22, 69.21, 316.84°)
OKLaboklab(71.25% 0.1253 -0.1318)
OKLCHoklch(71.25% 0.182 313.5)
XYZxyz(47.3146, 33.0745, 87.0936)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BF1 #A2F17B
analogous
#8F7BF1 #CA7BF1 #F17BDD
triadic
#CA7BF1 #F1CA7B #7BF1CA
tetradic
#CA7BF1 #F18F7B #A2F17B #7BDDF1
square
#CA7BF1 #F18F7B #A2F17B #7BDDF1
split-complementary
#CA7BF1 #DDF17B #7BF18F
monochromatic
#9A17DA #B444EB #CA7BF1 #E0B2F7 #F4E3FC

Accessibility & contrast

On white

2.76
#CA7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CA7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BF1
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BF1#FFFFFF#000000##000000
##CA7BF11.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#C78DAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7bf1;
/* rgb */ color: rgb(202, 123, 241);
/* oklch */ color: oklch(71.3% 0.182 313.5);
Tailwind
colors: {
  custom: {
    50: '#dca3f6',
    500: '#ca7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bf1;
$custom-light: #dca3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bf1",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 280.169,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71251,
    "c": 0.18186,
    "h": 313.5
  },
  "luminance": 0.33073
}

Semantic roles & 50–950 ramp

primary
#CA7BF1
secondary
#DFF3D5
accent
#DD084F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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