#A748E5#A748E5

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

Color values

HEX#A748E5
RGBrgb(167, 72, 229)
HSLhsl(276, 75%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.1%, 68.6%, 0%, 10.2%)
CIE-LABlab(50.11, 64.31, -63.42)
CIE-LCHlch(50.11, 90.32, 315.40°)
OKLaboklab(59.83% 0.1439 -0.1796)
OKLCHoklch(59.83% 0.23 308.7)
XYZxyz(32.3937, 18.5079, 75.9794)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748E5 #86E548
analogous
#5948E5 #A748E5 #E548D5
triadic
#A748E5 #E5A748 #48E5A7
tetradic
#A748E5 #E55948 #86E548 #48D5E5
square
#A748E5 #E55948 #86E548 #48D5E5
split-complementary
#A748E5 #D5E548 #48E559
monochromatic
#67169C #8B1ED2 #A748E5 #C17EED #DBB3F4

Accessibility & contrast

On white

4.47
#A748E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A748E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748E5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748E5#FFFFFF#000000##000000
##A748E51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2678E2
Tritanopia (blue-blind)
#9E6B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a748e5;
/* rgb */ color: rgb(167, 72, 229);
/* oklch */ color: oklch(59.8% 0.230 308.7);
Tailwind
colors: {
  custom: {
    50: '#c682ee',
    500: '#a748e5',
    950: '#000000',
  },
}
SCSS
$custom: #a748e5;
$custom-light: #c682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a748e5",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 276.306,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.23015,
    "h": 308.7
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#A748E5
secondary
#BEE3A6
accent
#F23680
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748E5

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

Preview Lab → · Contrast checker → · Palette generator →

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