#CA7FF5#CA7FF5

#CA7FF5 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.180 H 312.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF5
RGBrgb(202, 127, 245)
HSLhsl(278, 86%, 73%)
HSVhsv(278, 48%, 96%)
CMYKcmyk(17.6%, 48.2%, 0%, 3.9%)
CIE-LABlab(65.22, 49.25, -47.97)
CIE-LCHlch(65.22, 68.74, 315.75°)
OKLaboklab(72.06% 0.1203 -0.1337)
OKLCHoklch(72.06% 0.18 312)
XYZxyz(48.4250, 34.3289, 90.4437)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF5 #AAF57F
analogous
#8F7FF5 #CA7FF5 #F57FE5
triadic
#CA7FF5 #F5CA7F #7FF5CA
tetradic
#CA7FF5 #F58F7F #AAF57F #7FE5F5
square
#CA7FF5 #F58F7F #AAF57F #7FE5F5
split-complementary
#CA7FF5 #E5F57F #7FF58F
monochromatic
#9A12E8 #B246F1 #CA7FF5 #E2B8F9 #F3E3FD

Accessibility & contrast

On white

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

On black

7.87
#CA7FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF5#FFFFFF#000000##000000
##CA7FF51.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#C692AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ff5;
/* rgb */ color: rgb(202, 127, 245);
/* oklch */ color: oklch(72.1% 0.180 312.0);
Tailwind
colors: {
  custom: {
    50: '#dca6f9',
    500: '#ca7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff5;
$custom-light: #dca6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff5",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 278.136,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72057,
    "c": 0.17987,
    "h": 312
  },
  "luminance": 0.34328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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