#CA81F7#CA81F7

#CA81F7 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.5% C 0.179 H 311.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CA81F7
RGBrgb(202, 129, 247)
HSLhsl(277, 88%, 74%)
HSVhsv(277, 48%, 97%)
CMYKcmyk(18.2%, 47.8%, 0%, 3.1%)
CIE-LABlab(65.73, 48.62, -48.27)
CIE-LCHlch(65.73, 68.51, 315.21°)
OKLaboklab(72.46% 0.1179 -0.1346)
OKLCHoklch(72.46% 0.179 311.2)
XYZxyz(48.9929, 34.9734, 92.1473)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81F7 #AEF781
analogous
#8F81F7 #CA81F7 #F781E9
triadic
#CA81F7 #F7CA81 #81F7CA
tetradic
#CA81F7 #F78F81 #AEF781 #81E9F7
square
#CA81F7 #F78F81 #AEF781 #81E9F7
split-complementary
#CA81F7 #E9F781 #81F78F
monochromatic
#990FEE #B247F3 #CA81F7 #E2BBFB #F3E2FD

Accessibility & contrast

On white

2.63
#CA81F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CA81F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81F7
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81F7#FFFFFF#000000##000000
##CA81F71.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#C594B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca81f7;
/* rgb */ color: rgb(202, 129, 247);
/* oklch */ color: oklch(72.5% 0.179 311.2);
Tailwind
colors: {
  custom: {
    50: '#dca7fa',
    500: '#ca81f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca81f7;
$custom-light: #dca7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81f7",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 277.119,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72464,
    "c": 0.17891,
    "h": 311.2
  },
  "luminance": 0.34972
}

Semantic roles & 50–950 ramp

primary
#CA81F7
secondary
#E2F5D6
accent
#E50158
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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