#AD57EB#AD57EB

#AD57EB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.219 H 308.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AD57EB
RGBrgb(173, 87, 235)
HSLhsl(275, 79%, 63%)
HSVhsv(275, 63%, 92%)
CMYKcmyk(26.4%, 63%, 0%, 7.8%)
CIE-LABlab(53.71, 60.07, -60.96)
CIE-LCHlch(53.71, 85.58, 314.58°)
OKLaboklab(62.7% 0.1348 -0.1722)
OKLCHoklch(62.7% 0.219 308.1)
XYZxyz(35.6341, 21.6993, 80.8923)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD57EB #95EB57
analogous
#6357EB #AD57EB #EB57DF
triadic
#AD57EB #EBAD57 #57EBAD
tetradic
#AD57EB #EB6357 #95EB57 #57DFEB
square
#AD57EB #EB6357 #95EB57 #57DFEB
split-complementary
#AD57EB #DFEB57 #57EB63
monochromatic
#7115B2 #9220E4 #AD57EB #C88EF2 #E2C4F8

Accessibility & contrast

On white

3.93
#AD57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AD57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD57EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD57EB#FFFFFF#000000##000000
##AD57EB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#A47599
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ad57eb;
/* rgb */ color: rgb(173, 87, 235);
/* oklch */ color: oklch(62.7% 0.219 308.1);
Tailwind
colors: {
  custom: {
    50: '#ca8bf2',
    500: '#ad57eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad57eb;
$custom-light: #ca8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad57eb",
  "rgb": {
    "r": 173,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 274.865,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62696,
    "c": 0.21874,
    "h": 308.1
  },
  "luminance": 0.21699
}

Semantic roles & 50–950 ramp

primary
#AD57EB
secondary
#CBE9B4
accent
#DB0A62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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