#A237CC#A237CC

#A237CC is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.225 H 314.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A237CC
RGBrgb(162, 55, 204)
HSLhsl(283, 59%, 51%)
HSVhsv(283, 73%, 80%)
CMYKcmyk(20.6%, 73%, 0%, 20%)
CIE-LABlab(45.32, 65.02, -56.89)
CIE-LCHlch(45.32, 86.40, 318.81°)
OKLaboklab(55.75% 0.1574 -0.1605)
OKLCHoklch(55.75% 0.225 314.5)
XYZxyz(27.1637, 14.7743, 58.5359)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237CC #61CC37
analogous
#5737CC #A237CC #CC37AC
triadic
#A237CC #CCA237 #37CCA2
tetradic
#A237CC #CC5737 #61CC37 #37ACCC
square
#A237CC #CC5737 #61CC37 #37ACCC
split-complementary
#A237CC #ACCC37 #37CC57
monochromatic
#561C6D #7D289E #A237CC #B968D8 #CF99E5

Accessibility & contrast

On white

5.31
#A237CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A237CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237CC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237CC#FFFFFF#000000##FFFFFF
##A237CC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#9E577F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a237cc;
/* rgb */ color: rgb(162, 55, 204);
/* oklch */ color: oklch(55.8% 0.225 314.5);
Tailwind
colors: {
  custom: {
    50: '#c278dc',
    500: '#a237cc',
    950: '#000000',
  },
}
SCSS
$custom: #a237cc;
$custom-light: #c278dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a237cc",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 283.087,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.22482,
    "h": 314.5
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#A237CC
secondary
#A1D08E
accent
#E34572
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A237CC

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

Preview Lab → · Contrast checker → · Palette generator →

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