#CA7FE6#CA7FE6

#CA7FE6 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.163 H 316.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE6
RGBrgb(202, 127, 230)
HSLhsl(284, 67%, 70%)
HSVhsv(284, 45%, 90%)
CMYKcmyk(12.2%, 44.8%, 0%, 9.8%)
CIE-LABlab(64.52, 46.13, -40.78)
CIE-LCHlch(64.52, 61.57, 318.52°)
OKLaboklab(71.31% 0.1182 -0.1129)
OKLCHoklch(71.31% 0.163 316.3)
XYZxyz(46.2273, 33.4498, 78.8689)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE6 #9BE67F
analogous
#967FE6 #CA7FE6 #E67FCF
triadic
#CA7FE6 #E6CA7F #7FE6CA
tetradic
#CA7FE6 #E6967F #9BE67F #7FCFE6
square
#CA7FE6 #E6967F #9BE67F #7FCFE6
split-complementary
#CA7FE6 #CFE67F #7FE696
monochromatic
#9926C4 #B54CDC #CA7FE6 #DFB2F0 #F4E5FA

Accessibility & contrast

On white

2.73
#CA7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CA7FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE6#FFFFFF#000000##000000
##CA7FE61.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EA
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#C98DA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe6;
/* rgb */ color: rgb(202, 127, 230);
/* oklch */ color: oklch(71.3% 0.163 316.3);
Tailwind
colors: {
  custom: {
    50: '#dca6ee',
    500: '#ca7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe6;
$custom-light: #dca6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe6",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 283.689,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.16348,
    "h": 316.3
  },
  "luminance": 0.33448
}

Semantic roles & 50–950 ramp

primary
#CA7FE6
secondary
#DAEFD2
accent
#CF1649
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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