#CA7BCF#CA7BCF

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

Color values

HEX#CA7BCF
RGBrgb(202, 123, 207)
HSLhsl(296, 47%, 65%)
HSVhsv(296, 41%, 81%)
CMYKcmyk(2.4%, 40.6%, 0%, 18.8%)
CIE-LABlab(62.70, 43.72, -30.79)
CIE-LCHlch(62.70, 53.47, 324.85°)
OKLaboklab(69.62% 0.1197 -0.0842)
OKLCHoklch(69.62% 0.146 324.9)
XYZxyz(42.7015, 31.2293, 62.7979)
Luminance0.3123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BCF #80CF7B
analogous
#A07BCF #CA7BCF #CF7BAA
triadic
#CA7BCF #CFCA7B #7BCFCA
tetradic
#CA7BCF #CFA07B #80CF7B #7BAACF
square
#CA7BCF #CFA07B #80CF7B #7BAACF
split-complementary
#CA7BCF #AACF7B #7BCFA0
monochromatic
#923798 #B84EBF #CA7BCF #DCA8DF #EED5F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7BCF#FFFFFF#000000##000000
##CA7BCF1.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)
#7391D2
Deuteranopia (green-blind)
#889BCC
Tritanopia (blue-blind)
#CE849B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7bcf;
/* rgb */ color: rgb(202, 123, 207);
/* oklch */ color: oklch(69.6% 0.146 324.9);
Tailwind
colors: {
  custom: {
    50: '#dba3de',
    500: '#ca7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bcf;
$custom-light: #dba3de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bcf",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 296.429,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.14635,
    "h": 324.9
  },
  "luminance": 0.31227
}

Semantic roles & 50–950 ramp

primary
#CA7BCF
secondary
#C6E1C4
accent
#BA2C34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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