#CA7EFA#CA7EFA

#CA7EFA is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.187 H 310.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CA7EFA
RGBrgb(202, 126, 250)
HSLhsl(277, 93%, 74%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(19.2%, 49.6%, 0%, 2%)
CIE-LABlab(65.26, 50.83, -50.65)
CIE-LCHlch(65.26, 71.76, 315.11°)
OKLaboklab(72.17% 0.1222 -0.1415)
OKLCHoklch(72.17% 0.187 310.8)
XYZxyz(49.0702, 34.3813, 94.4752)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EFA #AEFA7E
analogous
#8C7EFA #CA7EFA #FA7EEC
triadic
#CA7EFA #FACA7E #7EFACA
tetradic
#CA7EFA #FA8C7E #AEFA7E #7EECFA
square
#CA7EFA #FA8C7E #AEFA7E #7EECFA
split-complementary
#CA7EFA #ECFA7E #7EFA8C
monochromatic
#9909F4 #B243F8 #CA7EFA #E2B9FC #F3E2FE

Accessibility & contrast

On white

2.67
#CA7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CA7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EFA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EFA#FFFFFF#000000##000000
##CA7EFA1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#C492B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7efa;
/* rgb */ color: rgb(202, 126, 250);
/* oklch */ color: oklch(72.2% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#dca5fc',
    500: '#ca7efa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7efa;
$custom-light: #dca5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7efa",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 276.774,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.18696,
    "h": 310.8
  },
  "luminance": 0.3438
}

Semantic roles & 50–950 ramp

primary
#CA7EFA
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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