#CA7FE3#CA7FE3

#CA7FE3 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.160 H 317.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE3
RGBrgb(202, 127, 227)
HSLhsl(285, 64%, 69%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(11%, 44.1%, 0%, 11%)
CIE-LABlab(64.39, 45.52, -39.33)
CIE-LCHlch(64.39, 60.15, 319.17°)
OKLaboklab(71.16% 0.1177 -0.1087)
OKLCHoklch(71.16% 0.16 317.3)
XYZxyz(45.8096, 33.2827, 76.6692)
Luminance0.3328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE3 #98E37F
analogous
#987FE3 #CA7FE3 #E37FCA
triadic
#CA7FE3 #E3CA7F #7FE3CA
tetradic
#CA7FE3 #E3987F #98E37F #7FCAE3
square
#CA7FE3 #E3987F #98E37F #7FCAE3
split-complementary
#CA7FE3 #CAE37F #7FE398
monochromatic
#992ABE #B54DD8 #CA7FE3 #DFB1EE #F4E3F9

Accessibility & contrast

On white

2.74
#CA7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CA7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE3#FFFFFF#000000##000000
##CA7FE31.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#829FE0
Tritanopia (blue-blind)
#CA8DA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe3;
/* rgb */ color: rgb(202, 127, 227);
/* oklch */ color: oklch(71.2% 0.160 317.3);
Tailwind
colors: {
  custom: {
    50: '#dca6ec',
    500: '#ca7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe3;
$custom-light: #dca6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe3",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 285,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.16024,
    "h": 317.3
  },
  "luminance": 0.33281
}

Semantic roles & 50–950 ramp

primary
#CA7FE3
secondary
#D8EDD0
accent
#CC1A46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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