#A748DE#A748DE

#A748DE is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.223 H 310.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A748DE
RGBrgb(167, 72, 222)
HSLhsl(278, 69%, 58%)
HSVhsv(278, 68%, 87%)
CMYKcmyk(24.8%, 67.6%, 0%, 12.9%)
CIE-LABlab(49.65, 62.82, -60.19)
CIE-LCHlch(49.65, 87.00, 316.22°)
OKLaboklab(59.35% 0.1447 -0.1701)
OKLCHoklch(59.35% 0.223 310.4)
XYZxyz(31.4360, 18.1248, 70.9355)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748DE #7FDE48
analogous
#5C48DE #A748DE #DE48CA
triadic
#A748DE #DEA748 #48DEA7
tetradic
#A748DE #DE5C48 #7FDE48 #48CADE
square
#A748DE #DE5C48 #7FDE48 #48CADE
split-complementary
#A748DE #CADE48 #48DE5C
monochromatic
#661A91 #8A24C5 #A748DE #C07CE7 #D9B0F1

Accessibility & contrast

On white

4.54
#A748DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A748DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748DE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748DE#FFFFFF#000000##000000
##A748DE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#3178DB
Tritanopia (blue-blind)
#A0688E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a748de;
/* rgb */ color: rgb(167, 72, 222);
/* oklch */ color: oklch(59.4% 0.223 310.4);
Tailwind
colors: {
  custom: {
    50: '#c582e9',
    500: '#a748de',
    950: '#000000',
  },
}
SCSS
$custom: #a748de;
$custom-light: #c582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a748de",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 278,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.22332,
    "h": 310.4
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#A748DE
secondary
#B9DFA3
accent
#EC3C7C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748DE

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

Preview Lab → · Contrast checker → · Palette generator →

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