#CA7FBE#CA7FBE

#CA7FBE is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.5% C 0.123 H 332.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CA7FBE
RGBrgb(202, 127, 190)
HSLhsl(310, 41%, 65%)
HSVhsv(310, 37%, 79%)
CMYKcmyk(0%, 37.1%, 5.9%, 20.8%)
CIE-LABlab(62.89, 38.49, -20.92)
CIE-LCHlch(62.89, 43.80, 331.48°)
OKLaboklab(69.55% 0.1096 -0.0564)
OKLCHoklch(69.55% 0.123 332.8)
XYZxyz(41.2404, 31.4550, 52.6044)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FBE #7FCA8B
analogous
#B17FCA #CA7FBE #CA7F99
triadic
#CA7FBE #BECA7F #7FBECA
tetradic
#CA7FBE #CAB17F #7FCA8B #7F99CA
square
#CA7FBE #CAB17F #7FCA8B #7F99CA
split-complementary
#CA7FBE #99CA7F #7FCAB1
monochromatic
#923C84 #B854A8 #CA7FBE #DCAAD4 #EED6EA

Accessibility & contrast

On white

2.88
#CA7FBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CA7FBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FBE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FBE#FFFFFF#000000##000000
##CA7FBE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C0
Deuteranopia (green-blind)
#919CBC
Tritanopia (blue-blind)
#D08396
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7fbe;
/* rgb */ color: rgb(202, 127, 190);
/* oklch */ color: oklch(69.5% 0.123 332.8);
Tailwind
colors: {
  custom: {
    50: '#dba5d1',
    500: '#ca7fbe',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fbe;
$custom-light: #dba5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fbe",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 309.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69545,
    "c": 0.12325,
    "h": 332.8
  },
  "luminance": 0.31453
}

Semantic roles & 50–950 ramp

primary
#CA7FBE
secondary
#C5DFCA
accent
#B44631
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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