#CA7FC8#CA7FC8

#CA7FC8 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.0% C 0.133 H 327.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA7FC8
RGBrgb(202, 127, 200)
HSLhsl(302, 41%, 65%)
HSVhsv(302, 37%, 79%)
CMYKcmyk(0%, 37.1%, 1%, 20.8%)
CIE-LABlab(63.27, 40.29, -25.98)
CIE-LCHlch(63.27, 47.94, 327.19°)
OKLaboklab(69.95% 0.1122 -0.0706)
OKLCHoklch(69.95% 0.133 327.8)
XYZxyz(42.3710, 31.9073, 58.5592)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FC8 #7FCA81
analogous
#A77FCA #CA7FC8 #CA7FA3
triadic
#CA7FC8 #C8CA7F #7FC8CA
tetradic
#CA7FC8 #CAA77F #7FCA81 #7FA3CA
square
#CA7FC8 #CAA77F #7FCA81 #7FA3CA
split-complementary
#CA7FC8 #A3CA7F #7FCAA7
monochromatic
#923C90 #B854B5 #CA7FC8 #DCAADB #EED6ED

Accessibility & contrast

On white

2.85
#CA7FC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA7FC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FC8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FC8#FFFFFF#000000##000000
##CA7FC81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CB
Deuteranopia (green-blind)
#8D9DC6
Tritanopia (blue-blind)
#CF869A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7fc8;
/* rgb */ color: rgb(202, 127, 200);
/* oklch */ color: oklch(70.0% 0.133 327.8);
Tailwind
colors: {
  custom: {
    50: '#dba5d9',
    500: '#ca7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fc8;
$custom-light: #dba5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fc8",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 301.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69952,
    "c": 0.13255,
    "h": 327.8
  },
  "luminance": 0.31905
}

Semantic roles & 50–950 ramp

primary
#CA7FC8
secondary
#C5DFC6
accent
#B43531
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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