#A237C8#A237C8

#A237C8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.221 H 315.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A237C8
RGBrgb(162, 55, 200)
HSLhsl(284, 57%, 50%)
HSVhsv(284, 73%, 78%)
CMYKcmyk(19%, 72.5%, 0%, 21.6%)
CIE-LABlab(45.06, 64.23, -55.00)
CIE-LCHlch(45.06, 84.56, 319.42°)
OKLaboklab(55.48% 0.1579 -0.1549)
OKLCHoklch(55.48% 0.221 315.5)
XYZxyz(26.6901, 14.5849, 56.0416)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237C8 #5DC837
analogous
#5A37C8 #A237C8 #C837A5
triadic
#A237C8 #C8A237 #37C8A2
tetradic
#A237C8 #C85A37 #5DC837 #37A5C8
square
#A237C8 #C85A37 #5DC837 #37A5C8
split-complementary
#A237C8 #A5C837 #37C85A
monochromatic
#541D68 #7B2A98 #A237C8 #B867D5 #CF97E2

Accessibility & contrast

On white

5.36
#A237C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A237C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237C8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237C8#FFFFFF#000000##FFFFFF
##A237C81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#346DC5
Tritanopia (blue-blind)
#9F567D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a237c8;
/* rgb */ color: rgb(162, 55, 200);
/* oklch */ color: oklch(55.5% 0.221 315.5);
Tailwind
colors: {
  custom: {
    50: '#c278d9',
    500: '#a237c8',
    950: '#000000',
  },
}
SCSS
$custom: #a237c8;
$custom-light: #c278d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a237c8",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 284.276,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.55481,
    "c": 0.22125,
    "h": 315.5
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#A237C8
secondary
#9ECE8D
accent
#E04870
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A237C8

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

Preview Lab → · Contrast checker → · Palette generator →

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