#CA7FF9#CA7FF9

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

Color values

HEX#CA7FF9
RGBrgb(202, 127, 249)
HSLhsl(277, 91%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(18.9%, 49%, 0%, 2.4%)
CIE-LABlab(65.42, 50.10, -49.86)
CIE-LCHlch(65.42, 70.68, 315.14°)
OKLaboklab(72.27% 0.1208 -0.1392)
OKLCHoklch(72.27% 0.184 311)
XYZxyz(49.0423, 34.5758, 93.6944)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF9 #AEF97F
analogous
#8D7FF9 #CA7FF9 #F97FEB
triadic
#CA7FF9 #F9CA7F #7FF9CA
tetradic
#CA7FF9 #F98D7F #AEF97F #7FEBF9
square
#CA7FF9 #F98D7F #AEF97F #7FEBF9
split-complementary
#CA7FF9 #EBF97F #7FF98D
monochromatic
#990BF2 #B245F6 #CA7FF9 #E2B9FC #F3E2FE

Accessibility & contrast

On white

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

On black

7.91
#CA7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF9
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF9#FFFFFF#000000##000000
##CA7FF91.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#C593B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7ff9;
/* rgb */ color: rgb(202, 127, 249);
/* oklch */ color: oklch(72.3% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#dca6fc',
    500: '#ca7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff9;
$custom-light: #dca6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff9",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 276.885,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72265,
    "c": 0.18428,
    "h": 311
  },
  "luminance": 0.34575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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