#CA7DF1#CA7DF1

#CA7DF1 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.5% C 0.179 H 313.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CA7DF1
RGBrgb(202, 125, 241)
HSLhsl(280, 81%, 72%)
HSVhsv(280, 48%, 95%)
CMYKcmyk(16.2%, 48.1%, 0%, 5.5%)
CIE-LABlab(64.62, 49.45, -46.71)
CIE-LCHlch(64.62, 68.02, 316.63°)
OKLaboklab(71.55% 0.1226 -0.13)
OKLCHoklch(71.55% 0.179 313.3)
XYZxyz(47.5653, 33.5758, 87.1771)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DF1 #A4F17D
analogous
#907DF1 #CA7DF1 #F17DDE
triadic
#CA7DF1 #F1CA7D #7DF1CA
tetradic
#CA7DF1 #F1907D #A4F17D #7DDEF1
square
#CA7DF1 #F1907D #A4F17D #7DDEF1
split-complementary
#CA7DF1 #DEF17D #7DF190
monochromatic
#9A18DC #B346EB #CA7DF1 #E1B4F7 #F4E3FC

Accessibility & contrast

On white

2.72
#CA7DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CA7DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DF1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DF1#FFFFFF#000000##000000
##CA7DF11.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#C78FAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7df1;
/* rgb */ color: rgb(202, 125, 241);
/* oklch */ color: oklch(71.5% 0.179 313.3);
Tailwind
colors: {
  custom: {
    50: '#dca5f6',
    500: '#ca7df1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7df1;
$custom-light: #dca5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7df1",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 279.828,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7155,
    "c": 0.17866,
    "h": 313.3
  },
  "luminance": 0.33575
}

Semantic roles & 50–950 ramp

primary
#CA7DF1
secondary
#E0F4D6
accent
#DD0950
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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