#A738B2#A738B2

#A738B2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.203 H 324.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A738B2
RGBrgb(167, 56, 178)
HSLhsl(295, 52%, 46%)
HSVhsv(295, 69%, 70%)
CMYKcmyk(6.2%, 68.5%, 0%, 30.2%)
CIE-LABlab(44.60, 60.78, -42.84)
CIE-LCHlch(44.60, 74.36, 324.82°)
OKLaboklab(54.87% 0.1642 -0.1192)
OKLCHoklch(54.87% 0.203 324)
XYZxyz(25.3857, 14.2597, 43.5261)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A738B2 #43B238
analogous
#6A38B2 #A738B2 #B23880
triadic
#A738B2 #B2A738 #38B2A7
tetradic
#A738B2 #B26A38 #43B238 #3880B2
square
#A738B2 #B26A38 #43B238 #3880B2
split-complementary
#A738B2 #80B238 #38B26A
monochromatic
#501B55 #7B2983 #A738B2 #C15CCC #D38ADA

Accessibility & contrast

On white

5.45
#A738B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A738B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A738B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A738B2#FFFFFF#000000##FFFFFF
##A738B21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#AA4C71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a738b2;
/* rgb */ color: rgb(167, 56, 178);
/* oklch */ color: oklch(54.9% 0.203 324.0);
Tailwind
colors: {
  custom: {
    50: '#c578c9',
    500: '#a738b2',
    950: '#000000',
  },
}
SCSS
$custom: #a738b2;
$custom-light: #c578c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a738b2",
  "rgb": {
    "r": 167,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 294.59,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.20294,
    "h": 324
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#A738B2
secondary
#87C581
accent
#DC4C59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A738B2

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

Preview Lab → · Contrast checker → · Palette generator →

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