#AD4FE7#AD4FE7

#AD4FE7 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.5% C 0.225 H 309.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AD4FE7
RGBrgb(173, 79, 231)
HSLhsl(277, 76%, 61%)
HSVhsv(277, 66%, 91%)
CMYKcmyk(25.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(52.11, 62.90, -61.27)
CIE-LCHlch(52.11, 87.81, 315.75°)
OKLaboklab(61.47% 0.144 -0.1731)
OKLCHoklch(61.47% 0.225 309.7)
XYZxyz(34.4505, 20.2464, 77.6789)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD4FE7 #89E74F
analogous
#614FE7 #AD4FE7 #E74FD5
triadic
#AD4FE7 #E7AD4F #4FE7AD
tetradic
#AD4FE7 #E7614F #89E74F #4FD5E7
square
#AD4FE7 #E7614F #89E74F #4FD5E7
split-complementary
#AD4FE7 #D5E74F #4FE761
monochromatic
#6F17A5 #931EDB #AD4FE7 #C685EE #DFBBF6

Accessibility & contrast

On white

4.16
#AD4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AD4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD4FE7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD4FE7#FFFFFF#000000##000000
##AD4FE71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#A56F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad4fe7;
/* rgb */ color: rgb(173, 79, 231);
/* oklch */ color: oklch(61.5% 0.225 309.7);
Tailwind
colors: {
  custom: {
    50: '#ca86ef',
    500: '#ad4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ad4fe7;
$custom-light: #ca86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ad4fe7",
  "rgb": {
    "r": 173,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 277.105,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61469,
    "c": 0.22516,
    "h": 309.7
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#AD4FE7
secondary
#C2E6AC
accent
#D80D5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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