#CA7FD3#CA7FD3

#CA7FD3 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.4% C 0.143 H 323.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CA7FD3
RGBrgb(202, 127, 211)
HSLhsl(294, 49%, 66%)
HSVhsv(294, 40%, 83%)
CMYKcmyk(4.3%, 39.8%, 0%, 17.3%)
CIE-LABlab(63.70, 42.36, -31.47)
CIE-LCHlch(63.70, 52.77, 323.39°)
OKLaboklab(70.43% 0.1147 -0.0862)
OKLCHoklch(70.43% 0.143 323.1)
XYZxyz(43.7031, 32.4401, 65.5749)
Luminance0.3244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FD3 #88D37F
analogous
#A07FD3 #CA7FD3 #D37FB2
triadic
#CA7FD3 #D3CA7F #7FD3CA
tetradic
#CA7FD3 #D3A07F #88D37F #7FB2D3
square
#CA7FD3 #D3A07F #88D37F #7FB2D3
split-complementary
#CA7FD3 #B2D37F #7FD3A0
monochromatic
#9537A0 #B751C3 #CA7FD3 #DDADE3 #F0DAF2

Accessibility & contrast

On white

2.80
#CA7FD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CA7FD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FD3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FD3#FFFFFF#000000##000000
##CA7FD31.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D6
Deuteranopia (green-blind)
#899DD0
Tritanopia (blue-blind)
#CD889F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7fd3;
/* rgb */ color: rgb(202, 127, 211);
/* oklch */ color: oklch(70.4% 0.143 323.1);
Tailwind
colors: {
  custom: {
    50: '#dba6e0',
    500: '#ca7fd3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fd3;
$custom-light: #dba6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fd3",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 293.571,
    "s": 48.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.14346,
    "h": 323.1
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#CA7FD3
secondary
#CCE5C9
accent
#BC2939
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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