#CA7DFF#CA7DFF

#CA7DFF is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.3% C 0.194 H 309.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CA7DFF
RGBrgb(202, 125, 255)
HSLhsl(276, 100%, 75%)
HSVhsv(276, 51%, 100%)
CMYKcmyk(20.8%, 51%, 0%, 0%)
CIE-LABlab(65.31, 52.43, -53.31)
CIE-LCHlch(65.31, 74.77, 314.52°)
OKLaboklab(72.29% 0.124 -0.1492)
OKLCHoklch(72.29% 0.194 309.7)
XYZxyz(49.7373, 34.4446, 98.6167)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DFF #B2FF7D
analogous
#897DFF #CA7DFF #FF7DF3
triadic
#CA7DFF #FFCA7D #7DFFCA
tetradic
#CA7DFF #FF897D #B2FF7D #7DF3FF
square
#CA7DFF #FF897D #B2FF7D #7DF3FF
split-complementary
#CA7DFF #F3FF7D #7DFF89
monochromatic
#9803FF #B140FF #CA7DFF #E3BAFF #F3E0FF

Accessibility & contrast

On white

2.66
#CA7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CA7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DFF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DFF#FFFFFF#000000##000000
##CA7DFF1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#C393B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca7dff;
/* rgb */ color: rgb(202, 125, 255);
/* oklch */ color: oklch(72.3% 0.194 309.7);
Tailwind
colors: {
  custom: {
    50: '#dda5ff',
    500: '#ca7dff',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dff;
$custom-light: #dda5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dff",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 275.538,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72285,
    "c": 0.19402,
    "h": 309.7
  },
  "luminance": 0.34444
}

Semantic roles & 50–950 ramp

primary
#CA7DFF
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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