#CA7FE1#CA7FE1

#CA7FE1 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.158 H 317.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE1
RGBrgb(202, 127, 225)
HSLhsl(286, 62%, 69%)
HSVhsv(286, 44%, 88%)
CMYKcmyk(10.2%, 43.6%, 0%, 11.8%)
CIE-LABlab(64.30, 45.11, -38.36)
CIE-LCHlch(64.30, 59.21, 319.63°)
OKLaboklab(71.07% 0.1174 -0.1059)
OKLCHoklch(71.07% 0.158 317.9)
XYZxyz(45.5352, 33.1730, 75.2239)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE1 #96E17F
analogous
#997FE1 #CA7FE1 #E17FC7
triadic
#CA7FE1 #E1CA7F #7FE1CA
tetradic
#CA7FE1 #E1997F #96E17F #7FC7E1
square
#CA7FE1 #E1997F #96E17F #7FC7E1
split-complementary
#CA7FE1 #C7E17F #7FE199
monochromatic
#992CBA #B54DD5 #CA7FE1 #DFB1ED #F3E2F8

Accessibility & contrast

On white

2.75
#CA7FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CA7FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE1#FFFFFF#000000##000000
##CA7FE11.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E4
Deuteranopia (green-blind)
#839EDE
Tritanopia (blue-blind)
#CA8CA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe1;
/* rgb */ color: rgb(202, 127, 225);
/* oklch */ color: oklch(71.1% 0.158 317.9);
Tailwind
colors: {
  custom: {
    50: '#dca6ea',
    500: '#ca7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe1;
$custom-light: #dca6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe1",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 285.918,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71068,
    "c": 0.15811,
    "h": 317.9
  },
  "luminance": 0.33172
}

Semantic roles & 50–950 ramp

primary
#CA7FE1
secondary
#D6ECD0
accent
#CA1C45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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