#A138FF#A138FF

#A138FF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 59.5% C 0.270 H 302.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A138FF
RGBrgb(161, 56, 255)
HSLhsl(272, 100%, 61%)
HSVhsv(272, 78%, 100%)
CMYKcmyk(36.9%, 78%, 0%, 0%)
CIE-LABlab(49.04, 75.15, -79.77)
CIE-LCHlch(49.04, 109.59, 313.29°)
OKLaboklab(59.5% 0.1449 -0.2277)
OKLCHoklch(59.5% 0.27 302.5)
XYZxyz(34.1578, 17.6253, 96.1908)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A138FF #96FF38
analogous
#3D38FF #A138FF #FF38FA
triadic
#A138FF #FFA138 #38FFA1
tetradic
#A138FF #FF3D38 #96FF38 #38FAFF
square
#A138FF #FF3D38 #96FF38 #38FAFF
split-complementary
#A138FF #FAFF38 #38FF3D
monochromatic
#6400BD #8400FA #A138FF #BE75FF #DBB2FF

Accessibility & contrast

On white

4.64
#A138FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A138FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A138FF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A138FF#FFFFFF#000000##FFFFFF
##A138FF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#8D6E9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a138ff;
/* rgb */ color: rgb(161, 56, 255);
/* oklch */ color: oklch(59.5% 0.270 302.5);
Tailwind
colors: {
  custom: {
    50: '#c47bff',
    500: '#a138ff',
    950: '#000000',
  },
}
SCSS
$custom: #a138ff;
$custom-light: #c47bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a138ff",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 255
  },
  "hsl": {
    "h": 271.658,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.595,
    "c": 0.26995,
    "h": 302.5
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#A138FF
secondary
#C7EFA4
accent
#E6006C
background
#FCF7FF
surface
#F9EEFF
border
#D2C9D7
text
#140A18
muted
#827C86

Preview Lab

Preview with #A138FF

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

Preview Lab → · Contrast checker → · Palette generator →

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