#CA7DF4#CA7DF4

#CA7DF4 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.7% C 0.182 H 312.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CA7DF4
RGBrgb(202, 125, 244)
HSLhsl(279, 84%, 72%)
HSVhsv(279, 49%, 96%)
CMYKcmyk(17.2%, 48.8%, 0%, 4.3%)
CIE-LABlab(64.77, 50.08, -48.13)
CIE-LCHlch(64.77, 69.46, 316.14°)
OKLaboklab(71.7% 0.1229 -0.1341)
OKLCHoklch(71.7% 0.182 312.5)
XYZxyz(48.0171, 33.7565, 89.5566)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DF4 #A7F47D
analogous
#8F7DF4 #CA7DF4 #F47DE2
triadic
#CA7DF4 #F4CA7D #7DF4CA
tetradic
#CA7DF4 #F48F7D #A7F47D #7DE2F4
square
#CA7DF4 #F48F7D #A7F47D #7DE2F4
split-complementary
#CA7DF4 #E2F47D #7DF48F
monochromatic
#9A13E3 #B345EF #CA7DF4 #E1B5F9 #F3E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7DF4#FFFFFF#000000##000000
##CA7DF41.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)
#6199F8
Deuteranopia (green-blind)
#789FF1
Tritanopia (blue-blind)
#C690AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7df4;
/* rgb */ color: rgb(202, 125, 244);
/* oklch */ color: oklch(71.7% 0.182 312.5);
Tailwind
colors: {
  custom: {
    50: '#dca5f8',
    500: '#ca7df4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7df4;
$custom-light: #dca5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7df4",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 278.824,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.18194,
    "h": 312.5
  },
  "luminance": 0.33755
}

Semantic roles & 50–950 ramp

primary
#CA7DF4
secondary
#E1F5D6
accent
#E10552
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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