#CA7DF0#CA7DF0

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

Color values

HEX#CA7DF0
RGBrgb(202, 125, 240)
HSLhsl(280, 79%, 72%)
HSVhsv(280, 48%, 94%)
CMYKcmyk(15.8%, 47.9%, 0%, 5.9%)
CIE-LABlab(64.58, 49.24, -46.23)
CIE-LCHlch(64.58, 67.54, 316.81°)
OKLaboklab(71.5% 0.1224 -0.1286)
OKLCHoklch(71.5% 0.178 313.6)
XYZxyz(47.4163, 33.5162, 86.3926)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DF0 #A3F07D
analogous
#917DF0 #CA7DF0 #F07DDD
triadic
#CA7DF0 #F0CA7D #7DF0CA
tetradic
#CA7DF0 #F0917D #A3F07D #7DDDF0
square
#CA7DF0 #F0917D #A3F07D #7DDDF0
split-complementary
#CA7DF0 #DDF07D #7DF091
monochromatic
#9A19DA #B446EA #CA7DF0 #E0B4F6 #F4E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7DF0#FFFFFF#000000##000000
##CA7DF01.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)
#6498F4
Deuteranopia (green-blind)
#7A9FED
Tritanopia (blue-blind)
#C78FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7df0;
/* rgb */ color: rgb(202, 125, 240);
/* oklch */ color: oklch(71.5% 0.178 313.6);
Tailwind
colors: {
  custom: {
    50: '#dca5f5',
    500: '#ca7df0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7df0;
$custom-light: #dca5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7df0",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 280.174,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.17758,
    "h": 313.6
  },
  "luminance": 0.33515
}

Semantic roles & 50–950 ramp

primary
#CA7DF0
secondary
#DFF3D6
accent
#DC0A4F
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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