#CA7FF3#CA7FF3

#CA7FF3 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.178 H 312.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF3
RGBrgb(202, 127, 243)
HSLhsl(279, 83%, 73%)
HSVhsv(279, 48%, 95%)
CMYKcmyk(16.9%, 47.7%, 0%, 4.7%)
CIE-LABlab(65.13, 48.82, -47.02)
CIE-LCHlch(65.13, 67.78, 316.08°)
OKLaboklab(71.96% 0.1201 -0.1309)
OKLCHoklch(71.96% 0.178 312.5)
XYZxyz(48.1214, 34.2074, 88.8444)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF3 #A8F37F
analogous
#907FF3 #CA7FF3 #F37FE2
triadic
#CA7FF3 #F3CA7F #7FF3CA
tetradic
#CA7FF3 #F3907F #A8F37F #7FE2F3
square
#CA7FF3 #F3907F #A8F37F #7FE2F3
split-complementary
#CA7FF3 #E2F37F #7FF390
monochromatic
#9A15E2 #B347EE #CA7FF3 #E1B7F8 #F3E3FC

Accessibility & contrast

On white

2.68
#CA7FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CA7FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF3#FFFFFF#000000##000000
##CA7FF31.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#C691AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ff3;
/* rgb */ color: rgb(202, 127, 243);
/* oklch */ color: oklch(72.0% 0.178 312.5);
Tailwind
colors: {
  custom: {
    50: '#dca6f7',
    500: '#ca7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff3;
$custom-light: #dca6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff3",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 278.793,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71955,
    "c": 0.17766,
    "h": 312.5
  },
  "luminance": 0.34206
}

Semantic roles & 50–950 ramp

primary
#CA7FF3
secondary
#E1F4D7
accent
#DF0653
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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