#A231C7#A231C7

#A231C7 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.227 H 316.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A231C7
RGBrgb(162, 49, 199)
HSLhsl(285, 60%, 49%)
HSVhsv(285, 75%, 78%)
CMYKcmyk(18.6%, 75.4%, 0%, 22%)
CIE-LABlab(44.24, 66.20, -55.75)
CIE-LCHlch(44.24, 86.55, 319.90°)
OKLaboklab(54.88% 0.1636 -0.1571)
OKLCHoklch(54.88% 0.227 316.2)
XYZxyz(26.3058, 14.0026, 55.3389)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231C7 #56C731
analogous
#5731C7 #A231C7 #C731A1
triadic
#A231C7 #C7A231 #31C7A2
tetradic
#A231C7 #C75731 #56C731 #31A1C7
square
#A231C7 #C75731 #56C731 #31A1C7
split-complementary
#A231C7 #A1C731 #31C757
monochromatic
#521965 #7A2596 #A231C7 #B95ED7 #CF8FE3

Accessibility & contrast

On white

5.53
#A231C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A231C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231C7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231C7#FFFFFF#000000##FFFFFF
##A231C71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#A0527B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a231c7;
/* rgb */ color: rgb(162, 49, 199);
/* oklch */ color: oklch(54.9% 0.227 316.2);
Tailwind
colors: {
  custom: {
    50: '#c275d9',
    500: '#a231c7',
    950: '#000000',
  },
}
SCSS
$custom: #a231c7;
$custom-light: #c275d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a231c7",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 285.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.22679,
    "h": 316.2
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#A231C7
secondary
#98CE86
accent
#E4446C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A231C7

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

Preview Lab → · Contrast checker → · Palette generator →

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