#CA7EBF#CA7EBF

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

Color values

HEX#CA7EBF
RGBrgb(202, 126, 191)
HSLhsl(309, 42%, 64%)
HSVhsv(309, 38%, 79%)
CMYKcmyk(0%, 37.6%, 5.4%, 20.8%)
CIE-LABlab(62.71, 39.20, -21.75)
CIE-LCHlch(62.71, 44.83, 330.97°)
OKLaboklab(69.42% 0.1114 -0.0587)
OKLCHoklch(69.42% 0.126 332.2)
XYZxyz(41.2215, 31.2419, 53.1391)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EBF #7ECA89
analogous
#AF7ECA #CA7EBF #CA7E99
triadic
#CA7EBF #BFCA7E #7EBFCA
tetradic
#CA7EBF #CAAF7E #7ECA89 #7E99CA
square
#CA7EBF #CAAF7E #7ECA89 #7E99CA
split-complementary
#CA7EBF #99CA7E #7ECAAF
monochromatic
#923C85 #B853A9 #CA7EBF #DCA9D5 #EED5EA

Accessibility & contrast

On white

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

On black

7.25
#CA7EBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EBF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EBF#FFFFFF#000000##000000
##CA7EBF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7ebf;
/* rgb */ color: rgb(202, 126, 191);
/* oklch */ color: oklch(69.4% 0.126 332.2);
Tailwind
colors: {
  custom: {
    50: '#dba5d2',
    500: '#ca7ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ebf;
$custom-light: #dba5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ebf",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 308.684,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.12592,
    "h": 332.2
  },
  "luminance": 0.3124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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