#A237E0#A237E0

#A237E0 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.2% C 0.243 H 309.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A237E0
RGBrgb(162, 55, 224)
HSLhsl(278, 73%, 55%)
HSVhsv(278, 75%, 88%)
CMYKcmyk(27.7%, 75.4%, 0%, 12.2%)
CIE-LABlab(46.71, 69.08, -66.12)
CIE-LCHlch(46.71, 95.62, 316.25°)
OKLaboklab(57.17% 0.1542 -0.1876)
OKLCHoklch(57.17% 0.243 309.4)
XYZxyz(29.7183, 15.7962, 71.9900)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237E0 #75E037
analogous
#4E37E0 #A237E0 #E037CA
triadic
#A237E0 #E0A237 #37E0A2
tetradic
#A237E0 #E04E37 #75E037 #37CAE0
square
#A237E0 #E04E37 #75E037 #37CAE0
split-complementary
#A237E0 #CAE037 #37E04E
monochromatic
#5E1588 #821DBD #A237E0 #BB6CE8 #D3A1F0

Accessibility & contrast

On white

5.05
#A237E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A237E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237E0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237E0#FFFFFF#000000##FFFFFF
##A237E01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#99608A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a237e0;
/* rgb */ color: rgb(162, 55, 224);
/* oklch */ color: oklch(57.2% 0.243 309.4);
Tailwind
colors: {
  custom: {
    50: '#c379eb',
    500: '#a237e0',
    950: '#000000',
  },
}
SCSS
$custom: #a237e0;
$custom-light: #c379eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a237e0",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 224
  },
  "hsl": {
    "h": 277.988,
    "s": 73.16,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.24285,
    "h": 309.4
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#A237E0
secondary
#B0DD96
accent
#F0387B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A237E0

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

Preview Lab → · Contrast checker → · Palette generator →

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