#A748DB#A748DB

#A748DB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.220 H 311.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A748DB
RGBrgb(167, 72, 219)
HSLhsl(279, 67%, 57%)
HSVhsv(279, 67%, 86%)
CMYKcmyk(23.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(49.45, 62.18, -58.80)
CIE-LCHlch(49.45, 85.58, 316.60°)
OKLaboklab(59.15% 0.1449 -0.166)
OKLCHoklch(59.15% 0.22 311.1)
XYZxyz(31.0375, 17.9654, 68.8368)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A748DB #7CDB48
analogous
#5E48DB #A748DB #DB48C5
triadic
#A748DB #DBA748 #48DBA7
tetradic
#A748DB #DB5E48 #7CDB48 #48C5DB
square
#A748DB #DB5E48 #7CDB48 #48C5DB
split-complementary
#A748DB #C5DB48 #48DB5E
monochromatic
#651C8D #8926C0 #A748DB #C07BE5 #D8AEEF

Accessibility & contrast

On white

4.57
#A748DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A748DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A748DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A748DB#FFFFFF#000000##000000
##A748DB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#A0678C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a748db;
/* rgb */ color: rgb(167, 72, 219);
/* oklch */ color: oklch(59.2% 0.220 311.1);
Tailwind
colors: {
  custom: {
    50: '#c582e7',
    500: '#a748db',
    950: '#000000',
  },
}
SCSS
$custom: #a748db;
$custom-light: #c582e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a748db",
  "rgb": {
    "r": 167,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 278.776,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.2204,
    "h": 311.1
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#A748DB
secondary
#B7DDA2
accent
#EA3E7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A748DB

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

Preview Lab → · Contrast checker → · Palette generator →

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