#AD4FEB#AD4FEB

#AD4FEB is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.7% C 0.229 H 308.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AD4FEB
RGBrgb(173, 79, 235)
HSLhsl(276, 80%, 62%)
HSVhsv(276, 66%, 92%)
CMYKcmyk(26.4%, 66.4%, 0%, 7.8%)
CIE-LABlab(52.37, 63.76, -63.11)
CIE-LCHlch(52.37, 89.71, 315.29°)
OKLaboklab(61.73% 0.1436 -0.1785)
OKLCHoklch(61.73% 0.229 308.8)
XYZxyz(35.0219, 20.4750, 80.6883)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD4FEB #8DEB4F
analogous
#5F4FEB #AD4FEB #EB4FDB
triadic
#AD4FEB #EBAD4F #4FEBAD
tetradic
#AD4FEB #EB5F4F #8DEB4F #4FDBEB
square
#AD4FEB #EB5F4F #8DEB4F #4FDBEB
split-complementary
#AD4FEB #DBEB4F #4FEB5F
monochromatic
#6F14AC #931AE3 #AD4FEB #C786F1 #E0BDF7

Accessibility & contrast

On white

4.12
#AD4FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AD4FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD4FEB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD4FEB#FFFFFF#000000##000000
##AD4FEB1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#327EE8
Tritanopia (blue-blind)
#A47097
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ad4feb;
/* rgb */ color: rgb(173, 79, 235);
/* oklch */ color: oklch(61.7% 0.229 308.8);
Tailwind
colors: {
  custom: {
    50: '#ca87f2',
    500: '#ad4feb',
    950: '#000000',
  },
}
SCSS
$custom: #ad4feb;
$custom-light: #ca87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad4feb",
  "rgb": {
    "r": 173,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 276.154,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.22913,
    "h": 308.8
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#AD4FEB
secondary
#C5E8AE
accent
#DC0A5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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