#A138CE#A138CE

#A138CE is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.225 H 313.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A138CE
RGBrgb(161, 56, 206)
HSLhsl(282, 60%, 51%)
HSVhsv(282, 73%, 81%)
CMYKcmyk(21.8%, 72.8%, 0%, 19.2%)
CIE-LABlab(45.45, 64.85, -57.86)
CIE-LCHlch(45.45, 86.91, 318.26°)
OKLaboklab(55.85% 0.155 -0.1634)
OKLCHoklch(55.85% 0.225 313.5)
XYZxyz(27.2508, 14.8625, 59.8138)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138CE #65CE38
analogous
#5638CE #A138CE #CE38B0
triadic
#A138CE #CEA138 #38CEA1
tetradic
#A138CE #CE5638 #65CE38 #38B0CE
square
#A138CE #CE5638 #65CE38 #38B0CE
split-complementary
#A138CE #B0CE38 #38CE56
monochromatic
#571C70 #7D28A1 #A138CE #B869DA #CF9AE6

Accessibility & contrast

On white

5.29
#A138CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A138CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138CE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138CE#FFFFFF#000000##FFFFFF
##A138CE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a138ce;
/* rgb */ color: rgb(161, 56, 206);
/* oklch */ color: oklch(55.9% 0.225 313.5);
Tailwind
colors: {
  custom: {
    50: '#c178de',
    500: '#a138ce',
    950: '#000000',
  },
}
SCSS
$custom: #a138ce;
$custom-light: #c178de;
$custom-dark: #000000;
JSON
{
  "hex": "#a138ce",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 282,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.22519,
    "h": 313.5
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#A138CE
secondary
#A4D290
accent
#E44474
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A138CE

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

Preview Lab → · Contrast checker → · Palette generator →

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