#A748E4#A748E4

#A748E4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.8% C 0.229 H 308.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A748E4
RGBrgb(167, 72, 228)
HSLhsl(277, 74%, 59%)
HSVhsv(277, 68%, 89%)
CMYKcmyk(26.8%, 68.4%, 0%, 10.6%)
CIE-LABlab(50.04, 64.10, -62.96)
CIE-LCHlch(50.04, 89.85, 315.51°)
OKLaboklab(59.76% 0.144 -0.1782)
OKLCHoklch(59.76% 0.229 308.9)
XYZxyz(32.2545, 18.4522, 75.2462)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748E4 #85E448
analogous
#5948E4 #A748E4 #E448D3
triadic
#A748E4 #E4A748 #48E4A7
tetradic
#A748E4 #E45948 #85E448 #48D3E4
square
#A748E4 #E45948 #85E448 #48D3E4
split-complementary
#A748E4 #D3E448 #48E459
monochromatic
#67179B #8B1FD0 #A748E4 #C17DEC #DAB3F4

Accessibility & contrast

On white

4.48
#A748E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A748E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748E4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748E4#FFFFFF#000000##000000
##A748E41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2878E1
Tritanopia (blue-blind)
#9E6A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a748e4;
/* rgb */ color: rgb(167, 72, 228);
/* oklch */ color: oklch(59.8% 0.229 308.9);
Tailwind
colors: {
  custom: {
    50: '#c682ed',
    500: '#a748e4',
    950: '#000000',
  },
}
SCSS
$custom: #a748e4;
$custom-light: #c682ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a748e4",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 276.538,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.22917,
    "h": 308.9
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#A748E4
secondary
#BDE3A5
accent
#F13780
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748E4

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

Preview Lab → · Contrast checker → · Palette generator →

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