#A838BF#A838BF

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

Color values

HEX#A838BF
RGBrgb(168, 56, 191)
HSLhsl(290, 55%, 48%)
HSVhsv(290, 71%, 75%)
CMYKcmyk(12%, 70.7%, 0%, 25.1%)
CIE-LABlab(45.52, 63.38, -48.99)
CIE-LCHlch(45.52, 80.10, 322.30°)
OKLaboklab(55.81% 0.165 -0.1371)
OKLCHoklch(55.81% 0.215 320.3)
XYZxyz(26.9655, 14.9161, 50.7388)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838BF #4FBF38
analogous
#6438BF #A838BF #BF3892
triadic
#A838BF #BFA838 #38BFA8
tetradic
#A838BF #BF6438 #4FBF38 #3892BF
square
#A838BF #BF6438 #4FBF38 #3892BF
split-complementary
#A838BF #92BF38 #38BF64
monochromatic
#551C60 #7E2A90 #A838BF #BE63D1 #D292DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A838BF#FFFFFF#000000##FFFFFF
##A838BF1.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)
#0064C3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#A95178
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a838bf;
/* rgb */ color: rgb(168, 56, 191);
/* oklch */ color: oklch(55.8% 0.215 320.3);
Tailwind
colors: {
  custom: {
    50: '#c679d3',
    500: '#a838bf',
    950: '#000000',
  },
}
SCSS
$custom: #a838bf;
$custom-light: #c679d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a838bf",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 289.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.21452,
    "h": 320.3
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#A838BF
secondary
#94CA89
accent
#DE4A63
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A838BF

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

Preview Lab → · Contrast checker → · Palette generator →

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