#A238BD#A238BD

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

Color values

HEX#A238BD
RGBrgb(162, 56, 189)
HSLhsl(288, 54%, 48%)
HSVhsv(288, 70%, 74%)
CMYKcmyk(14.3%, 70.4%, 0%, 25.9%)
CIE-LABlab(44.50, 61.71, -49.51)
CIE-LCHlch(44.50, 79.12, 321.26°)
OKLaboklab(54.86% 0.1579 -0.1388)
OKLCHoklch(54.86% 0.21 318.7)
XYZxyz(25.4985, 14.1850, 49.5291)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A238BD #53BD38
analogous
#6038BD #A238BD #BD3895
triadic
#A238BD #BDA238 #38BDA2
tetradic
#A238BD #BD6038 #53BD38 #3895BD
square
#A238BD #BD6038 #53BD38 #3895BD
split-complementary
#A238BD #95BD38 #38BD60
monochromatic
#511C5F #7A2A8E #A238BD #BA62D0 #CF91DE

Accessibility & contrast

On white

5.47
#A238BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A238BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A238BD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A238BD#FFFFFF#000000##FFFFFF
##A238BD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#A25277
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a238bd;
/* rgb */ color: rgb(162, 56, 189);
/* oklch */ color: oklch(54.9% 0.210 318.7);
Tailwind
colors: {
  custom: {
    50: '#c178d1',
    500: '#a238bd',
    950: '#000000',
  },
}
SCSS
$custom: #a238bd;
$custom-light: #c178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a238bd",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 287.82,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.2103,
    "h": 318.7
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#A238BD
secondary
#95C987
accent
#DE4A68
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A238BD

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

Preview Lab → · Contrast checker → · Palette generator →

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