#CA7FF6#CA7FF6

#CA7FF6 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.181 H 311.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF6
RGBrgb(202, 127, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 48%, 96%)
CMYKcmyk(17.9%, 48.4%, 0%, 3.5%)
CIE-LABlab(65.27, 49.46, -48.44)
CIE-LCHlch(65.27, 69.23, 315.60°)
OKLaboklab(72.11% 0.1205 -0.1351)
OKLCHoklch(72.11% 0.181 311.7)
XYZxyz(48.5781, 34.3901, 91.2498)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF6 #ABF67F
analogous
#8E7FF6 #CA7FF6 #F67FE6
triadic
#CA7FF6 #F6CA7F #7FF6CA
tetradic
#CA7FF6 #F68E7F #ABF67F #7FE6F6
square
#CA7FF6 #F68E7F #ABF67F #7FE6F6
split-complementary
#CA7FF6 #E6F67F #7FF68E
monochromatic
#9A10EA #B246F2 #CA7FF6 #E2B8FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.88
#CA7FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF6
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF6#FFFFFF#000000##000000
##CA7FF61.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#C592AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ff6;
/* rgb */ color: rgb(202, 127, 246);
/* oklch */ color: oklch(72.1% 0.181 311.7);
Tailwind
colors: {
  custom: {
    50: '#dca6f9',
    500: '#ca7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff6;
$custom-light: #dca6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff6",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 277.815,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72109,
    "c": 0.18097,
    "h": 311.7
  },
  "luminance": 0.34389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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