#CA7CF6#CA7CF6

#CA7CF6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.7% C 0.186 H 312.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CA7CF6
RGBrgb(202, 124, 246)
HSLhsl(278, 87%, 73%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(17.9%, 49.6%, 0%, 3.5%)
CIE-LABlab(64.67, 51.02, -49.40)
CIE-LCHlch(64.67, 71.01, 315.93°)
OKLaboklab(71.66% 0.1245 -0.1378)
OKLCHoklch(71.66% 0.186 312.1)
XYZxyz(48.1964, 33.6267, 91.1226)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CF6 #A8F67C
analogous
#8D7CF6 #CA7CF6 #F67CE5
triadic
#CA7CF6 #F6CA7C #7CF6CA
tetradic
#CA7CF6 #F68D7C #A8F67C #7CE5F6
square
#CA7CF6 #F68D7C #A8F67C #7CE5F6
split-complementary
#CA7CF6 #E5F67C #7CF68D
monochromatic
#9A10E8 #B343F2 #CA7CF6 #E1B5FA #F3E2FD

Accessibility & contrast

On white

2.72
#CA7CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CA7CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CF6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CF6#FFFFFF#000000##000000
##CA7CF61.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C590AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7cf6;
/* rgb */ color: rgb(202, 124, 246);
/* oklch */ color: oklch(71.7% 0.186 312.1);
Tailwind
colors: {
  custom: {
    50: '#dca4f9',
    500: '#ca7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cf6;
$custom-light: #dca4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cf6",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 278.361,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.1857,
    "h": 312.1
  },
  "luminance": 0.33626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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