#AD51F2#AD51F2

#AD51F2 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.234 H 307.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AD51F2
RGBrgb(173, 81, 242)
HSLhsl(274, 86%, 63%)
HSVhsv(274, 67%, 95%)
CMYKcmyk(28.5%, 66.5%, 0%, 5.1%)
CIE-LABlab(53.15, 64.39, -65.78)
CIE-LCHlch(53.15, 92.04, 314.39°)
OKLaboklab(62.43% 0.1408 -0.1864)
OKLCHoklch(62.43% 0.234 307.1)
XYZxyz(36.1996, 21.1803, 86.1684)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51F2 #96F251
analogous
#5C51F2 #AD51F2 #F251E6
triadic
#AD51F2 #F2AD51 #51F2AD
tetradic
#AD51F2 #F25C51 #96F251 #51E6F2
square
#AD51F2 #F25C51 #96F251 #51E6F2
split-complementary
#AD51F2 #E6F251 #51F25C
monochromatic
#710EBB #9218EE #AD51F2 #C88AF6 #E3C3FB

Accessibility & contrast

On white

4.01
#AD51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AD51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51F2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51F2#FFFFFF#000000##000000
##AD51F21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#2980EE
Tritanopia (blue-blind)
#A2749B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ad51f2;
/* rgb */ color: rgb(173, 81, 242);
/* oklch */ color: oklch(62.4% 0.234 307.1);
Tailwind
colors: {
  custom: {
    50: '#ca88f7',
    500: '#ad51f2',
    950: '#000000',
  },
}
SCSS
$custom: #ad51f2;
$custom-light: #ca88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51f2",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 274.286,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.23361,
    "h": 307.1
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#AD51F2
secondary
#CBECB3
accent
#E30363
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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