#A038CB#A038CB

#A038CB is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.222 H 313.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A038CB
RGBrgb(160, 56, 203)
HSLhsl(282, 59%, 51%)
HSVhsv(282, 72%, 80%)
CMYKcmyk(21.2%, 72.4%, 0%, 20.4%)
CIE-LABlab(45.10, 64.05, -56.69)
CIE-LCHlch(45.10, 85.53, 318.49°)
OKLaboklab(55.51% 0.1541 -0.16)
OKLCHoklch(55.51% 0.222 313.9)
XYZxyz(26.6890, 14.6146, 57.9033)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038CB #63CB38
analogous
#5638CB #A038CB #CB38AC
triadic
#A038CB #CBA038 #38CBA0
tetradic
#A038CB #CB5638 #63CB38 #38ACCB
square
#A038CB #CB5638 #63CB38 #38ACCB
split-complementary
#A038CB #ACCB38 #38CB56
monochromatic
#551C6C #7B299D #A038CB #B769D8 #CE99E4

Accessibility & contrast

On white

5.35
#A038CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A038CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038CB#FFFFFF#000000##FFFFFF
##A038CB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a038cb;
/* rgb */ color: rgb(160, 56, 203);
/* oklch */ color: oklch(55.5% 0.222 313.9);
Tailwind
colors: {
  custom: {
    50: '#c078dc',
    500: '#a038cb',
    950: '#000000',
  },
}
SCSS
$custom: #a038cb;
$custom-light: #c078dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a038cb",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 282.449,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.22213,
    "h": 313.9
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#A038CB
secondary
#A2D08F
accent
#E24674
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A038CB

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

Preview Lab → · Contrast checker → · Palette generator →

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