#CA7EF6#CA7EF6

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

Color values

HEX#CA7EF6
RGBrgb(202, 126, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(17.9%, 48.8%, 0%, 3.5%)
CIE-LABlab(65.07, 49.98, -48.76)
CIE-LCHlch(65.07, 69.83, 315.71°)
OKLaboklab(71.96% 0.1218 -0.136)
OKLCHoklch(71.96% 0.183 311.9)
XYZxyz(48.4496, 34.1331, 91.2070)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EF6 #AAF67E
analogous
#8E7EF6 #CA7EF6 #F67EE6
triadic
#CA7EF6 #F6CA7E #7EF6CA
tetradic
#CA7EF6 #F68E7E #AAF67E #7EE6F6
square
#CA7EF6 #F68E7E #AAF67E #7EE6F6
split-complementary
#CA7EF6 #E6F67E #7EF68E
monochromatic
#9A10E9 #B245F2 #CA7EF6 #E2B7FA #F3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7EF6#FFFFFF#000000##000000
##CA7EF61.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)
#619AFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C591AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ef6;
/* rgb */ color: rgb(202, 126, 246);
/* oklch */ color: oklch(72.0% 0.183 311.9);
Tailwind
colors: {
  custom: {
    50: '#dca5f9',
    500: '#ca7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ef6;
$custom-light: #dca5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ef6",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 278,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71958,
    "c": 0.18255,
    "h": 311.9
  },
  "luminance": 0.34132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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