#CA7FF4#CA7FF4

#CA7FF4 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.0% C 0.179 H 312.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF4
RGBrgb(202, 127, 244)
HSLhsl(278, 84%, 73%)
HSVhsv(278, 48%, 96%)
CMYKcmyk(17.2%, 48%, 0%, 4.3%)
CIE-LABlab(65.17, 49.03, -47.49)
CIE-LCHlch(65.17, 68.26, 315.92°)
OKLaboklab(72.01% 0.1202 -0.1323)
OKLCHoklch(72.01% 0.179 312.3)
XYZxyz(48.2728, 34.2680, 89.6418)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF4 #A9F47F
analogous
#907FF4 #CA7FF4 #F47FE3
triadic
#CA7FF4 #F4CA7F #7FF4CA
tetradic
#CA7FF4 #F4907F #A9F47F #7FE3F4
square
#CA7FF4 #F4907F #A9F47F #7FE3F4
split-complementary
#CA7FF4 #E3F47F #7FF490
monochromatic
#9A14E5 #B347EF #CA7FF4 #E1B7F9 #F3E3FD

Accessibility & contrast

On white

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

On black

7.85
#CA7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF4#FFFFFF#000000##000000
##CA7FF41.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#C691AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ff4;
/* rgb */ color: rgb(202, 127, 244);
/* oklch */ color: oklch(72.0% 0.179 312.3);
Tailwind
colors: {
  custom: {
    50: '#dca6f8',
    500: '#ca7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff4;
$custom-light: #dca6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff4",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 278.462,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72006,
    "c": 0.17876,
    "h": 312.3
  },
  "luminance": 0.34267
}

Semantic roles & 50–950 ramp

primary
#CA7FF4
secondary
#E1F5D6
accent
#E10554
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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