#A138CD#A138CD

#A138CD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.224 H 313.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A138CD
RGBrgb(161, 56, 205)
HSLhsl(282, 60%, 51%)
HSVhsv(282, 73%, 80%)
CMYKcmyk(21.5%, 72.7%, 0%, 19.6%)
CIE-LABlab(45.38, 64.65, -57.39)
CIE-LCHlch(45.38, 86.45, 318.40°)
OKLaboklab(55.78% 0.1551 -0.162)
OKLCHoklch(55.78% 0.224 313.8)
XYZxyz(27.1297, 14.8141, 59.1761)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138CD #64CD38
analogous
#5638CD #A138CD #CD38AE
triadic
#A138CD #CDA138 #38CDA1
tetradic
#A138CD #CD5638 #64CD38 #38AECD
square
#A138CD #CD5638 #64CD38 #38AECD
split-complementary
#A138CD #AECD38 #38CD56
monochromatic
#561C6F #7C28A0 #A138CD #B869D9 #CF9AE6

Accessibility & contrast

On white

5.30
#A138CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A138CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138CD#FFFFFF#000000##FFFFFF
##A138CD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#9D5980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a138cd;
/* rgb */ color: rgb(161, 56, 205);
/* oklch */ color: oklch(55.8% 0.224 313.8);
Tailwind
colors: {
  custom: {
    50: '#c178dd',
    500: '#a138cd',
    950: '#000000',
  },
}
SCSS
$custom: #a138cd;
$custom-light: #c178dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a138cd",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 282.282,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.22429,
    "h": 313.8
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#A138CD
secondary
#A3D18F
accent
#E34574
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A138CD

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

Preview Lab → · Contrast checker → · Palette generator →

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