#A251D7#A251D7

#A251D7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.203 H 309.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A251D7
RGBrgb(162, 81, 215)
HSLhsl(276, 63%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(24.7%, 62.3%, 0%, 15.7%)
CIE-LABlab(50.06, 56.07, -55.58)
CIE-LCHlch(50.06, 78.95, 315.25°)
OKLaboklab(59.38% 0.1287 -0.1568)
OKLCHoklch(59.38% 0.203 309.4)
XYZxyz(30.1061, 18.4731, 66.2565)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251D7 #86D751
analogous
#5F51D7 #A251D7 #D751C9
triadic
#A251D7 #D7A251 #51D7A2
tetradic
#A251D7 #D75F51 #86D751 #51C9D7
square
#A251D7 #D75F51 #86D751 #51C9D7
split-complementary
#A251D7 #C9D751 #51D75F
monochromatic
#62208D #852CBF #A251D7 #BD83E2 #D7B5EE

Accessibility & contrast

On white

4.47
#A251D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A251D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251D7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251D7#FFFFFF#000000##000000
##A251D71.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0874DB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#9B6C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a251d7;
/* rgb */ color: rgb(162, 81, 215);
/* oklch */ color: oklch(59.4% 0.203 309.4);
Tailwind
colors: {
  custom: {
    50: '#c186e4',
    500: '#a251d7',
    950: '#000000',
  },
}
SCSS
$custom: #a251d7;
$custom-light: #c186e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a251d7",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 276.269,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59375,
    "c": 0.20286,
    "h": 309.4
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#A251D7
secondary
#BCDDA7
accent
#E64283
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A251D7

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

Preview Lab → · Contrast checker → · Palette generator →

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