#CA7FE2#CA7FE2

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

Color values

HEX#CA7FE2
RGBrgb(202, 127, 226)
HSLhsl(285, 63%, 69%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(10.6%, 43.8%, 0%, 11.4%)
CIE-LABlab(64.34, 45.31, -38.84)
CIE-LCHlch(64.34, 59.68, 319.40°)
OKLaboklab(71.12% 0.1176 -0.1073)
OKLCHoklch(71.12% 0.159 317.6)
XYZxyz(45.6720, 33.2277, 75.9445)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE2 #97E27F
analogous
#997FE2 #CA7FE2 #E27FC8
triadic
#CA7FE2 #E2CA7F #7FE2CA
tetradic
#CA7FE2 #E2997F #97E27F #7FC8E2
square
#CA7FE2 #E2997F #97E27F #7FC8E2
split-complementary
#CA7FE2 #C8E27F #7FE299
monochromatic
#992BBC #B54DD7 #CA7FE2 #DFB1ED #F3E3F9

Accessibility & contrast

On white

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

On black

7.65
#CA7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE2#FFFFFF#000000##000000
##CA7FE21.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#839EDF
Tritanopia (blue-blind)
#CA8CA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe2;
/* rgb */ color: rgb(202, 127, 226);
/* oklch */ color: oklch(71.1% 0.159 317.6);
Tailwind
colors: {
  custom: {
    50: '#dca6eb',
    500: '#ca7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe2;
$custom-light: #dca6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe2",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 285.455,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.15918,
    "h": 317.6
  },
  "luminance": 0.33226
}

Semantic roles & 50–950 ramp

primary
#CA7FE2
secondary
#D7EDD0
accent
#CB1B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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