#CA7FEB#CA7FEB

#CA7FEB is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.169 H 314.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CA7FEB
RGBrgb(202, 127, 235)
HSLhsl(282, 73%, 71%)
HSVhsv(282, 46%, 92%)
CMYKcmyk(14%, 46%, 0%, 7.8%)
CIE-LABlab(64.75, 47.15, -43.19)
CIE-LCHlch(64.75, 63.94, 317.51°)
OKLaboklab(71.55% 0.119 -0.1198)
OKLCHoklch(71.55% 0.169 314.8)
XYZxyz(46.9395, 33.7347, 82.6199)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FEB #A0EB7F
analogous
#947FEB #CA7FEB #EB7FD6
triadic
#CA7FEB #EBCA7F #7FEBCA
tetradic
#CA7FEB #EB947F #A0EB7F #7FD6EB
square
#CA7FEB #EB947F #A0EB7F #7FD6EB
split-complementary
#CA7FEB #D6EB7F #7FEB94
monochromatic
#9A20CF #B44AE3 #CA7FEB #E0B4F3 #F4E5FB

Accessibility & contrast

On white

2.71
#CA7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CA7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FEB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FEB#FFFFFF#000000##000000
##CA7FEB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#C88FAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7feb;
/* rgb */ color: rgb(202, 127, 235);
/* oklch */ color: oklch(71.6% 0.169 314.8);
Tailwind
colors: {
  custom: {
    50: '#dca6f2',
    500: '#ca7feb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7feb;
$custom-light: #dca6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7feb",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 281.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71552,
    "c": 0.1689,
    "h": 314.8
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#CA7FEB
secondary
#DDF1D5
accent
#D5104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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