#A238CE#A238CE

#A238CE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.226 H 313.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A238CE
RGBrgb(162, 56, 206)
HSLhsl(282, 60%, 51%)
HSVhsv(282, 73%, 81%)
CMYKcmyk(21.4%, 72.8%, 0%, 19.2%)
CIE-LABlab(45.59, 65.04, -57.62)
CIE-LCHlch(45.59, 86.89, 318.46°)
OKLaboklab(55.98% 0.1562 -0.1626)
OKLCHoklch(55.98% 0.226 313.9)
XYZxyz(27.4531, 14.9669, 59.8233)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A238CE #64CE38
analogous
#5738CE #A238CE #CE38AF
triadic
#A238CE #CEA238 #38CEA2
tetradic
#A238CE #CE5738 #64CE38 #38AFCE
square
#A238CE #CE5738 #64CE38 #38AFCE
split-complementary
#A238CE #AFCE38 #38CE57
monochromatic
#571C70 #7E28A1 #A238CE #B969DA #D09AE6

Accessibility & contrast

On white

5.26
#A238CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A238CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A238CE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A238CE#FFFFFF#000000##FFFFFF
##A238CE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#2D6ECB
Tritanopia (blue-blind)
#9E5980
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a238ce;
/* rgb */ color: rgb(162, 56, 206);
/* oklch */ color: oklch(56.0% 0.226 313.9);
Tailwind
colors: {
  custom: {
    50: '#c279de',
    500: '#a238ce',
    950: '#000000',
  },
}
SCSS
$custom: #a238ce;
$custom-light: #c279de;
$custom-dark: #000000;
JSON
{
  "hex": "#a238ce",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 282.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55982,
    "c": 0.22552,
    "h": 313.9
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#A238CE
secondary
#A3D290
accent
#E44473
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A238CE

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

Preview Lab → · Contrast checker → · Palette generator →

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