#A748E2#A748E2

#A748E2 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.227 H 309.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A748E2
RGBrgb(167, 72, 226)
HSLhsl(277, 73%, 58%)
HSVhsv(277, 68%, 89%)
CMYKcmyk(26.1%, 68.1%, 0%, 11.4%)
CIE-LABlab(49.91, 63.67, -62.04)
CIE-LCHlch(49.91, 88.90, 315.74°)
OKLaboklab(59.62% 0.1443 -0.1756)
OKLCHoklch(59.62% 0.227 309.4)
XYZxyz(31.9785, 18.3418, 73.7925)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748E2 #83E248
analogous
#5A48E2 #A748E2 #E248D0
triadic
#A748E2 #E2A748 #48E2A7
tetradic
#A748E2 #E25A48 #83E248 #48D0E2
square
#A748E2 #E25A48 #83E248 #48D0E2
split-complementary
#A748E2 #D0E248 #48E25A
monochromatic
#671898 #8B20CC #A748E2 #C07DEA #DAB2F3

Accessibility & contrast

On white

4.50
#A748E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A748E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748E2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748E2#FFFFFF#000000##000000
##A748E21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#9E6990
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a748e2;
/* rgb */ color: rgb(167, 72, 226);
/* oklch */ color: oklch(59.6% 0.227 309.4);
Tailwind
colors: {
  custom: {
    50: '#c682ec',
    500: '#a748e2',
    950: '#000000',
  },
}
SCSS
$custom: #a748e2;
$custom-light: #c682ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a748e2",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 277.013,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59621,
    "c": 0.22722,
    "h": 309.4
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#A748E2
secondary
#BCE1A4
accent
#EF387F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748E2

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

Preview Lab → · Contrast checker → · Palette generator →

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