#CA7CF3#CA7CF3

#CA7CF3 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.182 H 312.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CA7CF3
RGBrgb(202, 124, 243)
HSLhsl(279, 83%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(16.9%, 49%, 0%, 4.7%)
CIE-LABlab(64.52, 50.39, -47.98)
CIE-LCHlch(64.52, 69.57, 316.40°)
OKLaboklab(71.5% 0.1241 -0.1337)
OKLCHoklch(71.5% 0.182 312.9)
XYZxyz(47.7397, 33.4440, 88.7171)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CF3 #A5F37C
analogous
#8F7CF3 #CA7CF3 #F37CE0
triadic
#CA7CF3 #F3CA7C #7CF3CA
tetradic
#CA7CF3 #F38F7C #A5F37C #7CE0F3
square
#CA7CF3 #F38F7C #A5F37C #7CE0F3
split-complementary
#CA7CF3 #E0F37C #7CF38F
monochromatic
#9A15E0 #B344EE #CA7CF3 #E1B4F8 #F4E3FC

Accessibility & contrast

On white

2.73
#CA7CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CA7CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CF3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CF3#FFFFFF#000000##000000
##CA7CF31.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#C68FAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7cf3;
/* rgb */ color: rgb(202, 124, 243);
/* oklch */ color: oklch(71.5% 0.182 312.9);
Tailwind
colors: {
  custom: {
    50: '#dca4f7',
    500: '#ca7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cf3;
$custom-light: #dca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cf3",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 279.328,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71503,
    "c": 0.18244,
    "h": 312.9
  },
  "luminance": 0.33443
}

Semantic roles & 50–950 ramp

primary
#CA7CF3
secondary
#E1F4D6
accent
#E00651
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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