#A738D9#A738D9

#A738D9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.237 H 312.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A738D9
RGBrgb(167, 56, 217)
HSLhsl(281, 68%, 54%)
HSVhsv(281, 74%, 85%)
CMYKcmyk(23%, 74.2%, 0%, 14.9%)
CIE-LABlab(47.05, 68.20, -61.55)
CIE-LCHlch(47.05, 91.86, 317.94°)
OKLaboklab(57.4% 0.1609 -0.174)
OKLCHoklch(57.4% 0.237 312.8)
XYZxyz(29.8727, 16.0545, 67.1574)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A738D9 #6AD938
analogous
#5638D9 #A738D9 #D938BB
triadic
#A738D9 #D9A738 #38D9A7
tetradic
#A738D9 #D95638 #6AD938 #38BBD9
square
#A738D9 #D95638 #6AD938 #38BBD9
split-complementary
#A738D9 #BBD938 #38D956
monochromatic
#5F187E #8522B2 #A738D9 #BE6BE3 #D49FED

Accessibility & contrast

On white

4.99
#A738D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A738D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A738D9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A738D9#FFFFFF#000000##FFFFFF
##A738D91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#2472D6
Tritanopia (blue-blind)
#A15D86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a738d9;
/* rgb */ color: rgb(167, 56, 217);
/* oklch */ color: oklch(57.4% 0.237 312.8);
Tailwind
colors: {
  custom: {
    50: '#c67ae6',
    500: '#a738d9',
    950: '#000000',
  },
}
SCSS
$custom: #a738d9;
$custom-light: #c67ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a738d9",
  "rgb": {
    "r": 167,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 281.366,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.23701,
    "h": 312.8
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#A738D9
secondary
#A9D994
accent
#EB3D73
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A738D9

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

Preview Lab → · Contrast checker → · Palette generator →

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