#CA7EEF#CA7EEF

#CA7EEF is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.175 H 313.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CA7EEF
RGBrgb(202, 126, 239)
HSLhsl(280, 78%, 72%)
HSVhsv(280, 47%, 94%)
CMYKcmyk(15.5%, 47.3%, 0%, 6.3%)
CIE-LABlab(64.73, 48.51, -45.43)
CIE-LCHlch(64.73, 66.46, 316.87°)
OKLaboklab(71.6% 0.1209 -0.1263)
OKLCHoklch(71.6% 0.175 313.8)
XYZxyz(47.3954, 33.7114, 85.6549)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EEF #A3EF7E
analogous
#927EEF #CA7EEF #EF7EDC
triadic
#CA7EEF #EFCA7E #7EEFCA
tetradic
#CA7EEF #EF927E #A3EF7E #7EDCEF
square
#CA7EEF #EF927E #A3EF7E #7EDCEF
split-complementary
#CA7EEF #DCEF7E #7EEF92
monochromatic
#9A1BD8 #B448E8 #CA7EEF #E0B4F6 #F4E4FC

Accessibility & contrast

On white

2.71
#CA7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CA7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EEF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EEF#FFFFFF#000000##000000
##CA7EEF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#C78FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7eef;
/* rgb */ color: rgb(202, 126, 239);
/* oklch */ color: oklch(71.6% 0.175 313.8);
Tailwind
colors: {
  custom: {
    50: '#dca5f4',
    500: '#ca7eef',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eef;
$custom-light: #dca5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eef",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 280.354,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.716,
    "c": 0.17489,
    "h": 313.8
  },
  "luminance": 0.3371
}

Semantic roles & 50–950 ramp

primary
#CA7EEF
secondary
#DFF3D6
accent
#DA0B4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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