#CA7EF7#CA7EF7

#CA7EF7 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.184 H 311.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CA7EF7
RGBrgb(202, 126, 247)
HSLhsl(278, 88%, 73%)
HSVhsv(278, 49%, 97%)
CMYKcmyk(18.2%, 49%, 0%, 3.1%)
CIE-LABlab(65.12, 50.19, -49.23)
CIE-LCHlch(65.12, 70.31, 315.55°)
OKLaboklab(72.01% 0.1219 -0.1373)
OKLCHoklch(72.01% 0.184 311.6)
XYZxyz(48.6035, 34.1946, 92.0175)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EF7 #ABF77E
analogous
#8D7EF7 #CA7EF7 #F77EE7
triadic
#CA7EF7 #F7CA7E #7EF7CA
tetradic
#CA7EF7 #F78D7E #ABF77E #7EE7F7
square
#CA7EF7 #F78D7E #ABF77E #7EE7F7
split-complementary
#CA7EF7 #E7F77E #7EF78D
monochromatic
#9A0FEC #B244F3 #CA7EF7 #E2B8FB #F3E2FD

Accessibility & contrast

On white

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

On black

7.84
#CA7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EF7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EF7#FFFFFF#000000##000000
##CA7EF71.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#C591AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ef7;
/* rgb */ color: rgb(202, 126, 247);
/* oklch */ color: oklch(72.0% 0.184 311.6);
Tailwind
colors: {
  custom: {
    50: '#dca5fa',
    500: '#ca7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ef7;
$custom-light: #dca5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ef7",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 277.686,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.18365,
    "h": 311.6
  },
  "luminance": 0.34194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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