#CA7FBF#CA7FBF

#CA7FBF is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.6% C 0.124 H 332.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA7FBF
RGBrgb(202, 127, 191)
HSLhsl(309, 41%, 65%)
HSVhsv(309, 37%, 79%)
CMYKcmyk(0%, 37.1%, 5.4%, 20.8%)
CIE-LABlab(62.93, 38.66, -21.43)
CIE-LCHlch(62.93, 44.20, 331.01°)
OKLaboklab(69.58% 0.1099 -0.0578)
OKLCHoklch(69.58% 0.124 332.2)
XYZxyz(41.3500, 31.4989, 53.1819)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FBF #7FCA8A
analogous
#B07FCA #CA7FBF #CA7F9A
triadic
#CA7FBF #BFCA7F #7FBFCA
tetradic
#CA7FBF #CAB07F #7FCA8A #7F9ACA
square
#CA7FBF #CAB07F #7FCA8A #7F9ACA
split-complementary
#CA7FBF #9ACA7F #7FCAB0
monochromatic
#923C86 #B854A9 #CA7FBF #DCAAD5 #EED6EA

Accessibility & contrast

On white

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

On black

7.30
#CA7FBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FBF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FBF#FFFFFF#000000##000000
##CA7FBF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7fbf;
/* rgb */ color: rgb(202, 127, 191);
/* oklch */ color: oklch(69.6% 0.124 332.2);
Tailwind
colors: {
  custom: {
    50: '#dba5d2',
    500: '#ca7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fbf;
$custom-light: #dba5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fbf",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 308.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69584,
    "c": 0.12415,
    "h": 332.2
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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