#CA7EF0#CA7EF0

#CA7EF0 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.176 H 313.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CA7EF0
RGBrgb(202, 126, 240)
HSLhsl(280, 79%, 72%)
HSVhsv(280, 48%, 94%)
CMYKcmyk(15.8%, 47.5%, 0%, 5.9%)
CIE-LABlab(64.78, 48.72, -45.91)
CIE-LCHlch(64.78, 66.94, 316.70°)
OKLaboklab(71.65% 0.1211 -0.1277)
OKLCHoklch(71.65% 0.176 313.5)
XYZxyz(47.5435, 33.7707, 86.4351)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EF0 #A4F07E
analogous
#917EF0 #CA7EF0 #F07EDD
triadic
#CA7EF0 #F0CA7E #7EF0CA
tetradic
#CA7EF0 #F0917E #A4F07E #7EDDF0
square
#CA7EF0 #F0917E #A4F07E #7EDDF0
split-complementary
#CA7EF0 #DDF07E #7EF091
monochromatic
#9A19DA #B347EA #CA7EF0 #E1B5F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.75
#CA7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EF0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EF0#FFFFFF#000000##000000
##CA7EF01.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#C78FAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7ef0;
/* rgb */ color: rgb(202, 126, 240);
/* oklch */ color: oklch(71.7% 0.176 313.5);
Tailwind
colors: {
  custom: {
    50: '#dca5f5',
    500: '#ca7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ef0;
$custom-light: #dca5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ef0",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 280,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7165,
    "c": 0.17598,
    "h": 313.5
  },
  "luminance": 0.3377
}

Semantic roles & 50–950 ramp

primary
#CA7EF0
secondary
#E0F3D6
accent
#DB0A50
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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