#A238BE#A238BE

#A238BE is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.211 H 318.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A238BE
RGBrgb(162, 56, 190)
HSLhsl(287, 54%, 48%)
HSVhsv(287, 71%, 75%)
CMYKcmyk(14.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(44.56, 61.90, -49.99)
CIE-LCHlch(44.56, 79.57, 321.08°)
OKLaboklab(54.92% 0.1579 -0.1403)
OKLCHoklch(54.92% 0.211 318.4)
XYZxyz(25.6075, 14.2286, 50.1027)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A238BE #54BE38
analogous
#5F38BE #A238BE #BE3897
triadic
#A238BE #BEA238 #38BEA2
tetradic
#A238BE #BE5F38 #54BE38 #3897BE
square
#A238BE #BE5F38 #54BE38 #3897BE
split-complementary
#A238BE #97BE38 #38BE5F
monochromatic
#511C5F #7A2A8F #A238BE #BA62D1 #CF92DF

Accessibility & contrast

On white

5.46
#A238BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A238BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A238BE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A238BE#FFFFFF#000000##FFFFFF
##A238BE1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#A15277
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a238be;
/* rgb */ color: rgb(162, 56, 190);
/* oklch */ color: oklch(54.9% 0.211 318.4);
Tailwind
colors: {
  custom: {
    50: '#c178d2',
    500: '#a238be',
    950: '#000000',
  },
}
SCSS
$custom: #a238be;
$custom-light: #c178d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a238be",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 287.463,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.21118,
    "h": 318.4
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#A238BE
secondary
#96CA88
accent
#DE4A69
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A238BE

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

Preview Lab → · Contrast checker → · Palette generator →

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