#CA7EF3#CA7EF3

#CA7EF3 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.8% C 0.179 H 312.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CA7EF3
RGBrgb(202, 126, 243)
HSLhsl(279, 83%, 72%)
HSVhsv(279, 48%, 95%)
CMYKcmyk(16.9%, 48.1%, 0%, 4.7%)
CIE-LABlab(64.92, 49.35, -47.34)
CIE-LCHlch(64.92, 68.38, 316.19°)
OKLaboklab(71.8% 0.1214 -0.1318)
OKLCHoklch(71.8% 0.179 312.6)
XYZxyz(47.9929, 33.9504, 88.8015)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EF3 #A7F37E
analogous
#8F7EF3 #CA7EF3 #F37EE2
triadic
#CA7EF3 #F3CA7E #7EF3CA
tetradic
#CA7EF3 #F38F7E #A7F37E #7EE2F3
square
#CA7EF3 #F38F7E #A7F37E #7EE2F3
split-complementary
#CA7EF3 #E2F37E #7EF38F
monochromatic
#9A15E2 #B346EE #CA7EF3 #E1B6F8 #F3E3FC

Accessibility & contrast

On white

2.70
#CA7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CA7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EF3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EF3#FFFFFF#000000##000000
##CA7EF31.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#C690AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7ef3;
/* rgb */ color: rgb(202, 126, 243);
/* oklch */ color: oklch(71.8% 0.179 312.6);
Tailwind
colors: {
  custom: {
    50: '#dca5f7',
    500: '#ca7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ef3;
$custom-light: #dca5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ef3",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 278.974,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71803,
    "c": 0.17925,
    "h": 312.6
  },
  "luminance": 0.33949
}

Semantic roles & 50–950 ramp

primary
#CA7EF3
secondary
#E1F4D7
accent
#DF0652
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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