#CA7DF6#CA7DF6

#CA7DF6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.8% C 0.184 H 312.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CA7DF6
RGBrgb(202, 125, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(17.9%, 49.2%, 0%, 3.5%)
CIE-LABlab(64.87, 50.50, -49.08)
CIE-LCHlch(64.87, 70.42, 315.82°)
OKLaboklab(71.81% 0.1231 -0.1369)
OKLCHoklch(71.81% 0.184 312)
XYZxyz(48.3224, 33.8786, 91.1646)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DF6 #A9F67D
analogous
#8E7DF6 #CA7DF6 #F67DE5
triadic
#CA7DF6 #F6CA7D #7DF6CA
tetradic
#CA7DF6 #F68E7D #A9F67D #7DE5F6
square
#CA7DF6 #F68E7D #A9F67D #7DE5F6
split-complementary
#CA7DF6 #E5F67D #7DF68E
monochromatic
#9A10E9 #B344F2 #CA7DF6 #E1B6FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.78
#CA7DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DF6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DF6#FFFFFF#000000##000000
##CA7DF61.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C590AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7df6;
/* rgb */ color: rgb(202, 125, 246);
/* oklch */ color: oklch(71.8% 0.184 312.0);
Tailwind
colors: {
  custom: {
    50: '#dca5f9',
    500: '#ca7df6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7df6;
$custom-light: #dca5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7df6",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 278.182,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71808,
    "c": 0.18413,
    "h": 312
  },
  "luminance": 0.33878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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