#CA7EBE#CA7EBE

#CA7EBE is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.4% C 0.125 H 332.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CA7EBE
RGBrgb(202, 126, 190)
HSLhsl(309, 42%, 64%)
HSVhsv(309, 38%, 79%)
CMYKcmyk(0%, 37.6%, 5.9%, 20.8%)
CIE-LABlab(62.67, 39.02, -21.25)
CIE-LCHlch(62.67, 44.43, 331.43°)
OKLaboklab(69.38% 0.1111 -0.0573)
OKLCHoklch(69.38% 0.125 332.7)
XYZxyz(41.1119, 31.1980, 52.5615)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EBE #7ECA8A
analogous
#B07ECA #CA7EBE #CA7E98
triadic
#CA7EBE #BECA7E #7EBECA
tetradic
#CA7EBE #CAB07E #7ECA8A #7E98CA
square
#CA7EBE #CAB07E #7ECA8A #7E98CA
split-complementary
#CA7EBE #98CA7E #7ECAB0
monochromatic
#923C84 #B853A8 #CA7EBE #DCA9D4 #EED5EA

Accessibility & contrast

On white

2.90
#CA7EBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CA7EBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EBE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EBE#FFFFFF#000000##000000
##CA7EBE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#909CBC
Tritanopia (blue-blind)
#D08296
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ebe;
/* rgb */ color: rgb(202, 126, 190);
/* oklch */ color: oklch(69.4% 0.125 332.7);
Tailwind
colors: {
  custom: {
    50: '#dba5d1',
    500: '#ca7ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ebe;
$custom-light: #dba5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ebe",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 190
  },
  "hsl": {
    "h": 309.474,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.12502,
    "h": 332.7
  },
  "luminance": 0.31196
}

Semantic roles & 50–950 ramp

primary
#CA7EBE
secondary
#C5DFC9
accent
#B54631
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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