#CA7EF5#CA7EF5

#CA7EF5 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.181 H 312.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CA7EF5
RGBrgb(202, 126, 245)
HSLhsl(278, 86%, 73%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(17.6%, 48.6%, 0%, 3.9%)
CIE-LABlab(65.02, 49.77, -48.29)
CIE-LCHlch(65.02, 69.34, 315.87°)
OKLaboklab(71.91% 0.1217 -0.1346)
OKLCHoklch(71.91% 0.181 312.1)
XYZxyz(48.2965, 34.0719, 90.4008)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EF5 #A9F57E
analogous
#8E7EF5 #CA7EF5 #F57EE5
triadic
#CA7EF5 #F5CA7E #7EF5CA
tetradic
#CA7EF5 #F58E7E #A9F57E #7EE5F5
square
#CA7EF5 #F58E7E #A9F57E #7EE5F5
split-complementary
#CA7EF5 #E5F57E #7EF58E
monochromatic
#9A12E7 #B345F1 #CA7EF5 #E1B7F9 #F3E3FD

Accessibility & contrast

On white

2.69
#CA7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CA7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EF5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EF5#FFFFFF#000000##000000
##CA7EF51.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#789FF2
Tritanopia (blue-blind)
#C691AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ef5;
/* rgb */ color: rgb(202, 126, 245);
/* oklch */ color: oklch(71.9% 0.181 312.1);
Tailwind
colors: {
  custom: {
    50: '#dca5f9',
    500: '#ca7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ef5;
$custom-light: #dca5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ef5",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 278.319,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71906,
    "c": 0.18145,
    "h": 312.1
  },
  "luminance": 0.34071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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