#CA7CFA#CA7CFA

#CA7CFA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.190 H 311.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CA7CFA
RGBrgb(202, 124, 250)
HSLhsl(277, 93%, 73%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(19.2%, 50.4%, 0%, 2%)
CIE-LABlab(64.86, 51.87, -51.28)
CIE-LCHlch(64.86, 72.94, 315.33°)
OKLaboklab(71.87% 0.1249 -0.1433)
OKLCHoklch(71.87% 0.19 311.1)
XYZxyz(48.8170, 33.8749, 94.3908)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CFA #ACFA7C
analogous
#8B7CFA #CA7CFA #FA7CEB
triadic
#CA7CFA #FACA7C #7CFACA
tetradic
#CA7CFA #FA8B7C #ACFA7C #7CEBFA
square
#CA7CFA #FA8B7C #ACFA7C #7CEBFA
split-complementary
#CA7CFA #EBFA7C #7CFA8B
monochromatic
#9A09F2 #B241F8 #CA7CFA #E2B7FC #F3E2FE

Accessibility & contrast

On white

2.70
#CA7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CA7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CFA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CFA#FFFFFF#000000##000000
##CA7CFA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#C491B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7cfa;
/* rgb */ color: rgb(202, 124, 250);
/* oklch */ color: oklch(71.9% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#dda4fc',
    500: '#ca7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cfa;
$custom-light: #dda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cfa",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 277.143,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7187,
    "c": 0.19008,
    "h": 311.1
  },
  "luminance": 0.33874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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