#A251FF#A251FF

#A251FF is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.1% C 0.245 H 300.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A251FF
RGBrgb(162, 81, 255)
HSLhsl(268, 100%, 66%)
HSVhsv(268, 68%, 100%)
CMYKcmyk(36.5%, 68.2%, 0%, 0%)
CIE-LABlab(52.71, 65.21, -73.78)
CIE-LCHlch(52.71, 98.46, 311.47°)
OKLaboklab(62.12% 0.1249 -0.2102)
OKLCHoklch(62.12% 0.245 300.7)
XYZxyz(35.8883, 20.7860, 96.7097)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251FF #AEFF51
analogous
#5157FF #A251FF #F951FF
triadic
#A251FF #FFA251 #51FFA2
tetradic
#A251FF #FF5157 #AEFF51 #51FFF9
square
#A251FF #FF5157 #AEFF51 #51FFF9
split-complementary
#A251FF #FFF951 #57FF51
monochromatic
#6300D6 #8114FF #A251FF #C38EFF #E3CBFF

Accessibility & contrast

On white

4.07
#A251FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A251FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A251FF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251FF#FFFFFF#000000##000000
##A251FF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#8E7AA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a251ff;
/* rgb */ color: rgb(162, 81, 255);
/* oklch */ color: oklch(62.1% 0.245 300.7);
Tailwind
colors: {
  custom: {
    50: '#c487ff',
    500: '#a251ff',
    950: '#000000',
  },
}
SCSS
$custom: #a251ff;
$custom-light: #c487ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a251ff",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 267.931,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62118,
    "c": 0.24456,
    "h": 300.7
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#A251FF
secondary
#D8F3B9
accent
#E6007B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A251FF

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

Preview Lab → · Contrast checker → · Palette generator →

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