#AD2FFB#AD2FFB

#AD2FFB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 60.0% C 0.276 H 307.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AD2FFB
RGBrgb(173, 47, 251)
HSLhsl(277, 96%, 58%)
HSVhsv(277, 81%, 98%)
CMYKcmyk(31.1%, 81.3%, 0%, 1.6%)
CIE-LABlab(49.35, 78.92, -76.96)
CIE-LCHlch(49.35, 110.23, 315.72°)
OKLaboklab(59.96% 0.1682 -0.219)
OKLCHoklch(59.96% 0.276 307.5)
XYZxyz(35.6589, 17.8828, 92.8213)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2FFB #7DFB2F
analogous
#472FFB #AD2FFB #FB2FE3
triadic
#AD2FFB #FBAD2F #2FFBAD
tetradic
#AD2FFB #FB472F #7DFB2F #2FE3FB
square
#AD2FFB #FB472F #7DFB2F #2FE3FB
split-complementary
#AD2FFB #E3FB2F #2FFB47
monochromatic
#6C03AC #9104E8 #AD2FFB #C56BFC #DCA7FD

Accessibility & contrast

On white

4.59
#AD2FFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AD2FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2FFB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2FFB#FFFFFF#000000##FFFFFF
##AD2FFB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#A06798
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad2ffb;
/* rgb */ color: rgb(173, 47, 251);
/* oklch */ color: oklch(60.0% 0.276 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc78fe',
    500: '#ad2ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ad2ffb;
$custom-light: #cc78fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2ffb",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 251
  },
  "hsl": {
    "h": 277.059,
    "s": 96.226,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.27616,
    "h": 307.5
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#AD2FFB
secondary
#B9EB9A
accent
#FF297B
background
#FDF7FF
surface
#FAEEFF
border
#D3C9D7
text
#140A18
muted
#837C86

Preview Lab

Preview with #AD2FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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