#CA7EFD#CA7EFD

#CA7EFD is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.190 H 310.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CA7EFD
RGBrgb(202, 126, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 50%, 99%)
CMYKcmyk(20.2%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.41, 51.48, -52.06)
CIE-LCHlch(65.41, 73.21, 314.68°)
OKLaboklab(72.33% 0.1225 -0.1456)
OKLCHoklch(72.33% 0.19 310.1)
XYZxyz(49.5443, 34.5710, 96.9724)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EFD #B1FD7E
analogous
#8B7EFD #CA7EFD #FD7EF0
triadic
#CA7EFD #FDCA7E #7EFDCA
tetradic
#CA7EFD #FD8B7E #B1FD7E #7EF0FD
square
#CA7EFD #FD8B7E #B1FD7E #7EF0FD
split-complementary
#CA7EFD #F0FD7E #7EFD8B
monochromatic
#9805FB #B142FC #CA7EFD #E3BAFE #F3E1FF

Accessibility & contrast

On white

2.65
#CA7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CA7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EFD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EFD#FFFFFF#000000##000000
##CA7EFD1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C493B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7efd;
/* rgb */ color: rgb(202, 126, 253);
/* oklch */ color: oklch(72.3% 0.190 310.1);
Tailwind
colors: {
  custom: {
    50: '#dda5fe',
    500: '#ca7efd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7efd;
$custom-light: #dda5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7efd",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 275.906,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72326,
    "c": 0.19027,
    "h": 310.1
  },
  "luminance": 0.3457
}

Semantic roles & 50–950 ramp

primary
#CA7EFD
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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