#CA7CE3#CA7CE3

#CA7CE3 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.7% C 0.165 H 317.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CA7CE3
RGBrgb(202, 124, 227)
HSLhsl(285, 65%, 69%)
HSVhsv(285, 45%, 89%)
CMYKcmyk(11%, 45.4%, 0%, 11%)
CIE-LABlab(63.77, 47.09, -40.30)
CIE-LCHlch(63.77, 61.98, 319.45°)
OKLaboklab(70.7% 0.122 -0.1115)
OKLCHoklch(70.7% 0.165 317.6)
XYZxyz(45.4279, 32.5193, 76.5420)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CE3 #95E37C
analogous
#977CE3 #CA7CE3 #E37CC9
triadic
#CA7CE3 #E3CA7C #7CE3CA
tetradic
#CA7CE3 #E3977C #95E37C #7CC9E3
square
#CA7CE3 #E3977C #95E37C #7CC9E3
split-complementary
#CA7CE3 #C9E37C #7CE397
monochromatic
#9828BC #B64AD8 #CA7CE3 #DEAEEE #F3E1F9

Accessibility & contrast

On white

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

On black

7.50
#CA7CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CE3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CE3#FFFFFF#000000##000000
##CA7CE31.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E7
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#CA8AA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7ce3;
/* rgb */ color: rgb(202, 124, 227);
/* oklch */ color: oklch(70.7% 0.165 317.6);
Tailwind
colors: {
  custom: {
    50: '#dca4ec',
    500: '#ca7ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ce3;
$custom-light: #dca4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ce3",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 285.437,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.16523,
    "h": 317.6
  },
  "luminance": 0.32518
}

Semantic roles & 50–950 ramp

primary
#CA7CE3
secondary
#D6EDCE
accent
#CD1945
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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