#CA7FED#CA7FED

#CA7FED is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.171 H 314.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CA7FED
RGBrgb(202, 127, 237)
HSLhsl(281, 75%, 71%)
HSVhsv(281, 46%, 93%)
CMYKcmyk(14.8%, 46.4%, 0%, 7.1%)
CIE-LABlab(64.84, 47.57, -44.15)
CIE-LCHlch(64.84, 64.90, 317.13°)
OKLaboklab(71.65% 0.1193 -0.1226)
OKLCHoklch(71.65% 0.171 314.2)
XYZxyz(47.2301, 33.8509, 84.1502)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FED #A2ED7F
analogous
#937FED #CA7FED #ED7FD9
triadic
#CA7FED #EDCA7F #7FEDCA
tetradic
#CA7FED #ED937F #A2ED7F #7FD9ED
square
#CA7FED #ED937F #A2ED7F #7FD9ED
split-complementary
#CA7FED #D9ED7F #7FED93
monochromatic
#9A1ED4 #B449E5 #CA7FED #E0B5F5 #F4E4FB

Accessibility & contrast

On white

2.70
#CA7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CA7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FED
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FED#FFFFFF#000000##000000
##CA7FED1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#C78FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7fed;
/* rgb */ color: rgb(202, 127, 237);
/* oklch */ color: oklch(71.7% 0.171 314.2);
Tailwind
colors: {
  custom: {
    50: '#dca6f3',
    500: '#ca7fed',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fed;
$custom-light: #dca6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fed",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 280.909,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71652,
    "c": 0.17108,
    "h": 314.2
  },
  "luminance": 0.3385
}

Semantic roles & 50–950 ramp

primary
#CA7FED
secondary
#DFF2D6
accent
#D80E4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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