#CA7FF0#CA7FF0

#CA7FF0 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.8% C 0.174 H 313.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CA7FF0
RGBrgb(202, 127, 240)
HSLhsl(280, 79%, 72%)
HSVhsv(280, 47%, 94%)
CMYKcmyk(15.8%, 47.1%, 0%, 5.9%)
CIE-LABlab(64.98, 48.19, -45.59)
CIE-LCHlch(64.98, 66.34, 316.59°)
OKLaboklab(71.8% 0.1197 -0.1268)
OKLCHoklch(71.8% 0.174 313.4)
XYZxyz(47.6720, 34.0277, 86.4779)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FF0 #A5F07F
analogous
#927FF0 #CA7FF0 #F07FDE
triadic
#CA7FF0 #F0CA7F #7FF0CA
tetradic
#CA7FF0 #F0927F #A5F07F #7FDEF0
square
#CA7FF0 #F0927F #A5F07F #7FDEF0
split-complementary
#CA7FF0 #DEF07F #7FF092
monochromatic
#9A1ADB #B348EA #CA7FF0 #E1B6F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.81
#CA7FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FF0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FF0#FFFFFF#000000##000000
##CA7FF01.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#C790AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca7ff0;
/* rgb */ color: rgb(202, 127, 240);
/* oklch */ color: oklch(71.8% 0.174 313.4);
Tailwind
colors: {
  custom: {
    50: '#dca6f5',
    500: '#ca7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ff0;
$custom-light: #dca6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ff0",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 279.823,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.17437,
    "h": 313.4
  },
  "luminance": 0.34027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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