#CA7DFA#CA7DFA

#CA7DFA is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.189 H 310.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CA7DFA
RGBrgb(202, 125, 250)
HSLhsl(277, 93%, 74%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(19.2%, 50%, 0%, 2%)
CIE-LABlab(65.06, 51.35, -50.97)
CIE-LCHlch(65.06, 72.35, 315.22°)
OKLaboklab(72.02% 0.1236 -0.1424)
OKLCHoklch(72.02% 0.189 310.9)
XYZxyz(48.9429, 34.1269, 94.4328)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DFA #ADFA7D
analogous
#8B7DFA #CA7DFA #FA7DEB
triadic
#CA7DFA #FACA7D #7DFACA
tetradic
#CA7DFA #FA8B7D #ADFA7D #7DEBFA
square
#CA7DFA #FA8B7D #ADFA7D #7DEBFA
split-complementary
#CA7DFA #EBFA7D #7DFA8B
monochromatic
#9909F3 #B242F8 #CA7DFA #E2B8FC #F3E2FE

Accessibility & contrast

On white

2.68
#CA7DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CA7DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DFA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DFA#FFFFFF#000000##000000
##CA7DFA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#C492B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7dfa;
/* rgb */ color: rgb(202, 125, 250);
/* oklch */ color: oklch(72.0% 0.189 310.9);
Tailwind
colors: {
  custom: {
    50: '#dca5fc',
    500: '#ca7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dfa;
$custom-light: #dca5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dfa",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 276.96,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72018,
    "c": 0.18852,
    "h": 310.9
  },
  "luminance": 0.34126
}

Semantic roles & 50–950 ramp

primary
#CA7DFA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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