#CA7FFA#CA7FFA

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

Color values

HEX#CA7FFA
RGBrgb(202, 127, 250)
HSLhsl(277, 92%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(19.2%, 49.2%, 0%, 2%)
CIE-LABlab(65.47, 50.31, -50.33)
CIE-LCHlch(65.47, 71.16, 314.99°)
OKLaboklab(72.32% 0.1209 -0.1405)
OKLCHoklch(72.32% 0.185 310.7)
XYZxyz(49.1987, 34.6383, 94.5181)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FFA #AFFA7F
analogous
#8D7FFA #CA7FFA #FA7FED
triadic
#CA7FFA #FACA7F #7FFACA
tetradic
#CA7FFA #FA8D7F #AFFA7F #7FEDFA
square
#CA7FFA #FA8D7F #AFFA7F #7FEDFA
split-complementary
#CA7FFA #EDFA7F #7FFA8D
monochromatic
#990AF5 #B244F8 #CA7FFA #E2BAFC #F3E2FE

Accessibility & contrast

On white

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

On black

7.93
#CA7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FFA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FFA#FFFFFF#000000##000000
##CA7FFA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#C493B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ffa;
/* rgb */ color: rgb(202, 127, 250);
/* oklch */ color: oklch(72.3% 0.185 310.7);
Tailwind
colors: {
  custom: {
    50: '#dca6fc',
    500: '#ca7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ffa;
$custom-light: #dca6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ffa",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 276.585,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72317,
    "c": 0.18539,
    "h": 310.7
  },
  "luminance": 0.34637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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