#A138D4#A138D4

#A138D4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.231 H 311.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A138D4
RGBrgb(161, 56, 212)
HSLhsl(280, 64%, 53%)
HSVhsv(280, 74%, 83%)
CMYKcmyk(24.1%, 73.6%, 0%, 16.9%)
CIE-LABlab(45.85, 66.06, -60.65)
CIE-LCHlch(45.85, 89.68, 317.44°)
OKLaboklab(56.27% 0.1541 -0.1716)
OKLCHoklch(56.27% 0.231 311.9)
XYZxyz(27.9936, 15.1596, 63.7260)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138D4 #6BD438
analogous
#5338D4 #A138D4 #D438B9
triadic
#A138D4 #D4A138 #38D4A1
tetradic
#A138D4 #D45338 #6BD438 #38B9D4
square
#A138D4 #D45338 #6BD438 #38B9D4
split-complementary
#A138D4 #B9D438 #38D453
monochromatic
#591A78 #7E25AA #A138D4 #B96ADF #D19DEA

Accessibility & contrast

On white

5.21
#A138D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A138D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138D4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138D4#FFFFFF#000000##FFFFFF
##A138D41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#216FD1
Tritanopia (blue-blind)
#9B5C84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a138d4;
/* rgb */ color: rgb(161, 56, 212);
/* oklch */ color: oklch(56.3% 0.231 311.9);
Tailwind
colors: {
  custom: {
    50: '#c279e2',
    500: '#a138d4',
    950: '#000000',
  },
}
SCSS
$custom: #a138d4;
$custom-light: #c279e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a138d4",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 280.385,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.23063,
    "h": 311.9
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#A138D4
secondary
#A8D692
accent
#E74077
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A138D4

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

Preview Lab → · Contrast checker → · Palette generator →

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