#A138CB#A138CB

#A138CB is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.222 H 314.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A138CB
RGBrgb(161, 56, 203)
HSLhsl(283, 59%, 51%)
HSVhsv(283, 72%, 80%)
CMYKcmyk(20.7%, 72.4%, 0%, 20.4%)
CIE-LABlab(45.25, 64.25, -56.45)
CIE-LCHlch(45.25, 85.52, 318.70°)
OKLaboklab(55.65% 0.1554 -0.1592)
OKLCHoklch(55.65% 0.222 314.3)
XYZxyz(26.8898, 14.7181, 57.9128)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138CB #62CB38
analogous
#5738CB #A138CB #CB38AC
triadic
#A138CB #CBA138 #38CBA1
tetradic
#A138CB #CB5738 #62CB38 #38ACCB
square
#A138CB #CB5738 #62CB38 #38ACCB
split-complementary
#A138CB #ACCB38 #38CB57
monochromatic
#551C6C #7C299D #A138CB #B869D8 #CF99E4

Accessibility & contrast

On white

5.33
#A138CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A138CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138CB#FFFFFF#000000##FFFFFF
##A138CB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#9D587F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a138cb;
/* rgb */ color: rgb(161, 56, 203);
/* oklch */ color: oklch(55.6% 0.222 314.3);
Tailwind
colors: {
  custom: {
    50: '#c178dc',
    500: '#a138cb',
    950: '#000000',
  },
}
SCSS
$custom: #a138cb;
$custom-light: #c178dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a138cb",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 282.857,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.22248,
    "h": 314.3
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#A138CB
secondary
#A1D08F
accent
#E24673
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A138CB

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

Preview Lab → · Contrast checker → · Palette generator →

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