#CA7BC8#CA7BC8

#CA7BC8 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.3% C 0.140 H 327.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CA7BC8
RGBrgb(202, 123, 200)
HSLhsl(302, 43%, 64%)
HSVhsv(302, 39%, 79%)
CMYKcmyk(0%, 39.1%, 1%, 20.8%)
CIE-LABlab(62.42, 42.42, -27.28)
CIE-LCHlch(62.42, 50.44, 327.25°)
OKLaboklab(69.32% 0.1181 -0.0743)
OKLCHoklch(69.32% 0.14 327.8)
XYZxyz(41.8647, 30.8945, 58.3904)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BC8 #7BCA7D
analogous
#A47BCA #CA7BC8 #CA7BA0
triadic
#CA7BC8 #C8CA7B #7BC8CA
tetradic
#CA7BC8 #CAA47B #7BCA7D #7BA0CA
square
#CA7BC8 #CAA47B #7BCA7D #7BA0CA
split-complementary
#CA7BC8 #A0CA7B #7BCAA4
monochromatic
#913A8E #B84FB6 #CA7BC8 #DCA7DA #EDD2EC

Accessibility & contrast

On white

2.93
#CA7BC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CA7BC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BC8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BC8#FFFFFF#000000##000000
##CA7BC81.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7690CB
Deuteranopia (green-blind)
#8A9BC5
Tritanopia (blue-blind)
#CF8298
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7bc8;
/* rgb */ color: rgb(202, 123, 200);
/* oklch */ color: oklch(69.3% 0.140 327.8);
Tailwind
colors: {
  custom: {
    50: '#dba3d9',
    500: '#ca7bc8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bc8;
$custom-light: #dba3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bc8",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 301.519,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69315,
    "c": 0.13955,
    "h": 327.8
  },
  "luminance": 0.30893
}

Semantic roles & 50–950 ramp

primary
#CA7BC8
secondary
#C2DEC3
accent
#B63330
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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