#A748E1#A748E1

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

Color values

HEX#A748E1
RGBrgb(167, 72, 225)
HSLhsl(277, 72%, 58%)
HSVhsv(277, 68%, 88%)
CMYKcmyk(25.8%, 68%, 0%, 11.8%)
CIE-LABlab(49.84, 63.46, -61.58)
CIE-LCHlch(49.84, 88.43, 315.86°)
OKLaboklab(59.55% 0.1444 -0.1742)
OKLCHoklch(59.55% 0.226 309.7)
XYZxyz(31.8416, 18.2871, 73.0719)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748E1 #82E148
analogous
#5A48E1 #A748E1 #E148CE
triadic
#A748E1 #E1A748 #48E1A7
tetradic
#A748E1 #E15A48 #82E148 #48CEE1
square
#A748E1 #E15A48 #82E148 #48CEE1
split-complementary
#A748E1 #CEE148 #48E15A
monochromatic
#661996 #8A21CB #A748E1 #C07DEA #DAB1F2

Accessibility & contrast

On white

4.51
#A748E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A748E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748E1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748E1#FFFFFF#000000##000000
##A748E11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#2D78DE
Tritanopia (blue-blind)
#9F698F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a748e1;
/* rgb */ color: rgb(167, 72, 225);
/* oklch */ color: oklch(59.6% 0.226 309.7);
Tailwind
colors: {
  custom: {
    50: '#c682eb',
    500: '#a748e1',
    950: '#000000',
  },
}
SCSS
$custom: #a748e1;
$custom-light: #c682eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a748e1",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 277.255,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.22625,
    "h": 309.7
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#A748E1
secondary
#BBE1A4
accent
#EF397E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748E1

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

Preview Lab → · Contrast checker → · Palette generator →

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