#A748E0#A748E0

#A748E0 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.225 H 309.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A748E0
RGBrgb(167, 72, 224)
HSLhsl(278, 71%, 58%)
HSVhsv(278, 68%, 88%)
CMYKcmyk(25.4%, 67.9%, 0%, 12.2%)
CIE-LABlab(49.78, 63.24, -61.12)
CIE-LCHlch(49.78, 87.95, 315.98°)
OKLaboklab(59.49% 0.1445 -0.1728)
OKLCHoklch(59.49% 0.225 309.9)
XYZxyz(31.7056, 18.2327, 72.3556)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748E0 #81E048
analogous
#5B48E0 #A748E0 #E048CD
triadic
#A748E0 #E0A748 #48E0A7
tetradic
#A748E0 #E05B48 #81E048 #48CDE0
square
#A748E0 #E05B48 #81E048 #48CDE0
split-complementary
#A748E0 #CDE048 #48E05B
monochromatic
#661994 #8A22C9 #A748E0 #C07CE9 #D9B1F2

Accessibility & contrast

On white

4.52
#A748E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A748E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748E0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748E0#FFFFFF#000000##000000
##A748E01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#9F698F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a748e0;
/* rgb */ color: rgb(167, 72, 224);
/* oklch */ color: oklch(59.5% 0.225 309.9);
Tailwind
colors: {
  custom: {
    50: '#c682ea',
    500: '#a748e0',
    950: '#000000',
  },
}
SCSS
$custom: #a748e0;
$custom-light: #c682ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a748e0",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 277.5,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.22527,
    "h": 309.9
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#A748E0
secondary
#BAE0A4
accent
#EE3A7D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748E0

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

Preview Lab → · Contrast checker → · Palette generator →

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