#A12FDF#A12FDF

#A12FDF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.3% C 0.249 H 309.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A12FDF
RGBrgb(161, 47, 223)
HSLhsl(279, 73%, 53%)
HSVhsv(279, 79%, 87%)
CMYKcmyk(27.8%, 78.9%, 0%, 12.5%)
CIE-LABlab(45.55, 71.43, -67.44)
CIE-LCHlch(45.55, 98.23, 316.65°)
OKLaboklab(56.3% 0.1595 -0.1914)
OKLCHoklch(56.3% 0.249 309.8)
XYZxyz(29.0311, 14.9384, 71.1518)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FDF #6DDF2F
analogous
#492FDF #A12FDF #DF2FC5
triadic
#A12FDF #DFA12F #2FDFA1
tetradic
#A12FDF #DF492F #6DDF2F #2FC5DF
square
#A12FDF #DF492F #6DDF2F #2FC5DF
split-complementary
#A12FDF #C5DF2F #2FDF49
monochromatic
#5A1480 #7F1CB5 #A12FDF #B964E7 #D199EF

Accessibility & contrast

On white

5.27
#A12FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A12FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FDF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FDF#FFFFFF#000000##FFFFFF
##A12FDF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#985C88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a12fdf;
/* rgb */ color: rgb(161, 47, 223);
/* oklch */ color: oklch(56.3% 0.249 309.8);
Tailwind
colors: {
  custom: {
    50: '#c375ea',
    500: '#a12fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a12fdf;
$custom-light: #c375ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fdf",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 278.864,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.24918,
    "h": 309.8
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#A12FDF
secondary
#AADB8F
accent
#F03879
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A12FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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