#A237D9#A237D9

#A237D9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.7% C 0.237 H 311.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A237D9
RGBrgb(162, 55, 217)
HSLhsl(280, 68%, 53%)
HSVhsv(280, 75%, 85%)
CMYKcmyk(25.3%, 74.7%, 0%, 14.9%)
CIE-LABlab(46.21, 67.64, -62.93)
CIE-LCHlch(46.21, 92.39, 317.07°)
OKLaboklab(56.66% 0.1555 -0.1782)
OKLCHoklch(56.66% 0.237 311.1)
XYZxyz(28.7885, 15.4242, 67.0928)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237D9 #6ED937
analogous
#5137D9 #A237D9 #D937BF
triadic
#A237D9 #D9A237 #37D9A2
tetradic
#A237D9 #D95137 #6ED937 #37BFD9
square
#A237D9 #D95137 #6ED937 #37BFD9
split-complementary
#A237D9 #BFD937 #37D951
monochromatic
#5B187E #8022B1 #A237D9 #BA6AE3 #D29EED

Accessibility & contrast

On white

5.14
#A237D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A237D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237D9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237D9#FFFFFF#000000##FFFFFF
##A237D91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#156FD6
Tritanopia (blue-blind)
#9B5D86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a237d9;
/* rgb */ color: rgb(162, 55, 217);
/* oklch */ color: oklch(56.7% 0.237 311.1);
Tailwind
colors: {
  custom: {
    50: '#c379e6',
    500: '#a237d9',
    950: '#000000',
  },
}
SCSS
$custom: #a237d9;
$custom-light: #c379e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a237d9",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 279.63,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.23652,
    "h": 311.1
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#A237D9
secondary
#ABD993
accent
#EB3D78
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A237D9

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

Preview Lab → · Contrast checker → · Palette generator →

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