#CA7EF4#CA7EF4

#CA7EF4 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.180 H 312.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CA7EF4
RGBrgb(202, 126, 244)
HSLhsl(279, 84%, 73%)
HSVhsv(279, 48%, 96%)
CMYKcmyk(17.2%, 48.4%, 0%, 4.3%)
CIE-LABlab(64.97, 49.56, -47.81)
CIE-LCHlch(64.97, 68.86, 316.03°)
OKLaboklab(71.86% 0.1216 -0.1332)
OKLCHoklch(71.86% 0.18 312.4)
XYZxyz(48.1443, 34.0110, 89.5990)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EF4 #A8F47E
analogous
#8F7EF4 #CA7EF4 #F47EE3
triadic
#CA7EF4 #F4CA7E #7EF4CA
tetradic
#CA7EF4 #F48F7E #A8F47E #7EE3F4
square
#CA7EF4 #F48F7E #A8F47E #7EE3F4
split-complementary
#CA7EF4 #E3F47E #7EF48F
monochromatic
#9A13E4 #B346EF #CA7EF4 #E1B6F9 #F3E3FD

Accessibility & contrast

On white

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

On black

7.80
#CA7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EF4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EF4#FFFFFF#000000##000000
##CA7EF41.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#799FF1
Tritanopia (blue-blind)
#C691AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ef4;
/* rgb */ color: rgb(202, 126, 244);
/* oklch */ color: oklch(71.9% 0.180 312.4);
Tailwind
colors: {
  custom: {
    50: '#dca5f8',
    500: '#ca7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ef4;
$custom-light: #dca5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ef4",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 278.644,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71855,
    "c": 0.18035,
    "h": 312.4
  },
  "luminance": 0.3401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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