#A138CF#A138CF

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

Color values

HEX#A138CF
RGBrgb(161, 56, 207)
HSLhsl(282, 61%, 52%)
HSVhsv(282, 73%, 81%)
CMYKcmyk(22.2%, 72.9%, 0%, 18.8%)
CIE-LABlab(45.51, 65.05, -58.33)
CIE-LCHlch(45.51, 87.37, 318.12°)
OKLaboklab(55.92% 0.1549 -0.1647)
OKLCHoklch(55.92% 0.226 313.2)
XYZxyz(27.3726, 14.9113, 60.4556)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138CF #66CF38
analogous
#5638CF #A138CF #CF38B2
triadic
#A138CF #CFA138 #38CFA1
tetradic
#A138CF #CF5638 #66CF38 #38B2CF
square
#A138CF #CF5638 #66CF38 #38B2CF
split-complementary
#A138CF #B2CF38 #38CF56
monochromatic
#571B71 #7D27A3 #A138CF #B869DB #D09BE7

Accessibility & contrast

On white

5.27
#A138CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A138CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A138CF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138CF#FFFFFF#000000##FFFFFF
##A138CF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#9C5981
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a138cf;
/* rgb */ color: rgb(161, 56, 207);
/* oklch */ color: oklch(55.9% 0.226 313.2);
Tailwind
colors: {
  custom: {
    50: '#c179de',
    500: '#a138cf',
    950: '#000000',
  },
}
SCSS
$custom: #a138cf;
$custom-light: #c179de;
$custom-dark: #000000;
JSON
{
  "hex": "#a138cf",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 281.722,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.2261,
    "h": 313.2
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#A138CF
secondary
#A4D390
accent
#E44475
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A138CF

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

Preview Lab → · Contrast checker → · Palette generator →

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