#CA7FF1#CA7FF1

#CA7FF1 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.175 H 313.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF1
RGBrgb(202, 127, 241)
HSLhsl(279, 80%, 72%)
HSVhsv(279, 47%, 95%)
CMYKcmyk(16.2%, 47.3%, 0%, 5.5%)
CIE-LABlab(65.03, 48.40, -46.06)
CIE-LCHlch(65.03, 66.82, 316.42°)
OKLaboklab(71.85% 0.1198 -0.1282)
OKLCHoklch(71.85% 0.175 313.1)
XYZxyz(47.8210, 34.0873, 87.2624)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF1 #A6F17F
analogous
#917FF1 #CA7FF1 #F17FDF
triadic
#CA7FF1 #F1CA7F #7FF1CA
tetradic
#CA7FF1 #F1917F #A6F17F #7FDFF1
square
#CA7FF1 #F1917F #A6F17F #7FDFF1
split-complementary
#CA7FF1 #DFF17F #7FF191
monochromatic
#9A18DD #B348EB #CA7FF1 #E1B6F7 #F4E3FC

Accessibility & contrast

On white

2.69
#CA7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CA7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF1#FFFFFF#000000##000000
##CA7FF11.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#C791AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ff1;
/* rgb */ color: rgb(202, 127, 241);
/* oklch */ color: oklch(71.9% 0.175 313.1);
Tailwind
colors: {
  custom: {
    50: '#dca6f6',
    500: '#ca7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff1;
$custom-light: #dca6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff1",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 279.474,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71853,
    "c": 0.17546,
    "h": 313.1
  },
  "luminance": 0.34086
}

Semantic roles & 50–950 ramp

primary
#CA7FF1
secondary
#E1F4D7
accent
#DD0951
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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