#AD5EF2#AD5EF2

#AD5EF2 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.217 H 305.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AD5EF2
RGBrgb(173, 94, 242)
HSLhsl(272, 85%, 66%)
HSVhsv(272, 61%, 95%)
CMYKcmyk(28.5%, 61.2%, 0%, 5.1%)
CIE-LABlab(55.38, 58.26, -62.18)
CIE-LCHlch(55.38, 85.21, 313.14°)
OKLaboklab(64.05% 0.1265 -0.1759)
OKLCHoklch(64.05% 0.217 305.7)
XYZxyz(37.2598, 23.3007, 86.5218)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5EF2 #A3F25E
analogous
#635EF2 #AD5EF2 #F25EED
triadic
#AD5EF2 #F2AD5E #5EF2AD
tetradic
#AD5EF2 #F2635E #A3F25E #5EEDF2
square
#AD5EF2 #F2635E #A3F25E #5EEDF2
split-complementary
#AD5EF2 #EDF25E #5EF263
monochromatic
#7110C6 #9025ED #AD5EF2 #CA97F7 #E7CFFB

Accessibility & contrast

On white

3.71
#AD5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AD5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5EF2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5EF2#FFFFFF#000000##000000
##AD5EF21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#A17CA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ad5ef2;
/* rgb */ color: rgb(173, 94, 242);
/* oklch */ color: oklch(64.0% 0.217 305.7);
Tailwind
colors: {
  custom: {
    50: '#ca90f7',
    500: '#ad5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ad5ef2;
$custom-light: #ca90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5ef2",
  "rgb": {
    "r": 173,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 272.027,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64046,
    "c": 0.21662,
    "h": 305.7
  },
  "luminance": 0.233
}

Semantic roles & 50–950 ramp

primary
#AD5EF2
secondary
#D4EEBD
accent
#E2046B
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AD5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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