#A237D7#A237D7

#A237D7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.235 H 311.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A237D7
RGBrgb(162, 55, 215)
HSLhsl(280, 67%, 53%)
HSVhsv(280, 74%, 84%)
CMYKcmyk(24.7%, 74.4%, 0%, 15.7%)
CIE-LABlab(46.07, 67.23, -62.01)
CIE-LCHlch(46.07, 91.47, 317.31°)
OKLaboklab(56.52% 0.1558 -0.1755)
OKLCHoklch(56.52% 0.235 311.6)
XYZxyz(28.5299, 15.3208, 65.7311)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A237D7 #6CD737
analogous
#5237D7 #A237D7 #D737BC
triadic
#A237D7 #D7A237 #37D7A2
tetradic
#A237D7 #D75237 #6CD737 #37BCD7
square
#A237D7 #D75237 #6CD737 #37BCD7
split-complementary
#A237D7 #BCD737 #37D752
monochromatic
#5A197B #8023AE #A237D7 #BA6AE1 #D19DEB

Accessibility & contrast

On white

5.17
#A237D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A237D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A237D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A237D7#FFFFFF#000000##FFFFFF
##A237D71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#1B6FD4
Tritanopia (blue-blind)
#9B5C85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a237d7;
/* rgb */ color: rgb(162, 55, 215);
/* oklch */ color: oklch(56.5% 0.235 311.6);
Tailwind
colors: {
  custom: {
    50: '#c278e4',
    500: '#a237d7',
    950: '#000000',
  },
}
SCSS
$custom: #a237d7;
$custom-light: #c278e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a237d7",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 280.125,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.23472,
    "h": 311.6
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#A237D7
secondary
#A9D792
accent
#EA3E77
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A237D7

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

Preview Lab → · Contrast checker → · Palette generator →

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