#A051F2#A051F2

#A051F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.231 H 302.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A051F2
RGBrgb(160, 81, 242)
HSLhsl(269, 86%, 63%)
HSVhsv(269, 67%, 95%)
CMYKcmyk(33.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(51.58, 61.78, -68.39)
CIE-LCHlch(51.58, 92.17, 312.09°)
OKLaboklab(60.97% 0.124 -0.1945)
OKLCHoklch(60.97% 0.231 302.5)
XYZxyz(33.4629, 19.7692, 86.0401)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051F2 #A3F251
analogous
#5152F2 #A051F2 #F051F2
triadic
#A051F2 #F2A051 #51F2A0
tetradic
#A051F2 #F25152 #A3F251 #51F2F0
square
#A051F2 #F25152 #A3F251 #51F2F0
split-complementary
#A051F2 #F2F051 #52F251
monochromatic
#630EBB #8118EE #A051F2 #BF8AF6 #DEC3FB

Accessibility & contrast

On white

4.24
#A051F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A051F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051F2#FFFFFF#000000##000000
##A051F21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#8F769B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a051f2;
/* rgb */ color: rgb(160, 81, 242);
/* oklch */ color: oklch(61.0% 0.231 302.5);
Tailwind
colors: {
  custom: {
    50: '#c287f7',
    500: '#a051f2',
    950: '#000000',
  },
}
SCSS
$custom: #a051f2;
$custom-light: #c287f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a051f2",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 269.441,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.23067,
    "h": 302.5
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#A051F2
secondary
#D0ECB3
accent
#E30375
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A051F2

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

Preview Lab → · Contrast checker → · Palette generator →

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