#CA7DF3#CA7DF3

#CA7DF3 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.7% C 0.181 H 312.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CA7DF3
RGBrgb(202, 125, 243)
HSLhsl(279, 83%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(16.9%, 48.6%, 0%, 4.7%)
CIE-LABlab(64.72, 49.87, -47.66)
CIE-LCHlch(64.72, 68.98, 316.30°)
OKLaboklab(71.65% 0.1228 -0.1328)
OKLCHoklch(71.65% 0.181 312.8)
XYZxyz(47.8656, 33.6959, 88.7591)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DF3 #A6F37D
analogous
#8F7DF3 #CA7DF3 #F37DE1
triadic
#CA7DF3 #F3CA7D #7DF3CA
tetradic
#CA7DF3 #F38F7D #A6F37D #7DE1F3
square
#CA7DF3 #F38F7D #A6F37D #7DE1F3
split-complementary
#CA7DF3 #E1F37D #7DF38F
monochromatic
#9A15E1 #B345EE #CA7DF3 #E1B5F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.74
#CA7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DF3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DF3#FFFFFF#000000##000000
##CA7DF31.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#C690AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7df3;
/* rgb */ color: rgb(202, 125, 243);
/* oklch */ color: oklch(71.7% 0.181 312.8);
Tailwind
colors: {
  custom: {
    50: '#dca5f7',
    500: '#ca7df3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7df3;
$custom-light: #dca5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7df3",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 279.153,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71653,
    "c": 0.18085,
    "h": 312.8
  },
  "luminance": 0.33695
}

Semantic roles & 50–950 ramp

primary
#CA7DF3
secondary
#E1F4D7
accent
#E00652
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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