#CA7FE7#CA7FE7

#CA7FE7 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.165 H 316.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE7
RGBrgb(202, 127, 231)
HSLhsl(283, 68%, 70%)
HSVhsv(283, 45%, 91%)
CMYKcmyk(12.6%, 45%, 0%, 9.4%)
CIE-LABlab(64.57, 46.33, -41.27)
CIE-LCHlch(64.57, 62.04, 318.31°)
OKLaboklab(71.36% 0.1184 -0.1143)
OKLCHoklch(71.36% 0.165 316)
XYZxyz(46.3681, 33.5061, 79.6106)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE7 #9CE77F
analogous
#967FE7 #CA7FE7 #E77FD0
triadic
#CA7FE7 #E7CA7F #7FE7CA
tetradic
#CA7FE7 #E7967F #9CE77F #7FD0E7
square
#CA7FE7 #E7967F #9CE77F #7FD0E7
split-complementary
#CA7FE7 #D0E77F #7FE796
monochromatic
#9925C6 #B54BDD #CA7FE7 #DFB3F1 #F4E5FA

Accessibility & contrast

On white

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

On black

7.70
#CA7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE7#FFFFFF#000000##000000
##CA7FE71.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#809FE4
Tritanopia (blue-blind)
#C98EA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7fe7;
/* rgb */ color: rgb(202, 127, 231);
/* oklch */ color: oklch(71.4% 0.165 316.0);
Tailwind
colors: {
  custom: {
    50: '#dca6ef',
    500: '#ca7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe7;
$custom-light: #dca6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe7",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 283.269,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.16456,
    "h": 316
  },
  "luminance": 0.33505
}

Semantic roles & 50–950 ramp

primary
#CA7FE7
secondary
#DBEFD2
accent
#D01549
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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