#AC48EB#AC48EB

#AC48EB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.8% C 0.237 H 309.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC48EB
RGBrgb(172, 72, 235)
HSLhsl(277, 80%, 60%)
HSVhsv(277, 69%, 92%)
CMYKcmyk(26.8%, 69.4%, 0%, 7.8%)
CIE-LABlab(51.16, 66.59, -65.07)
CIE-LCHlch(51.16, 93.10, 315.66°)
OKLaboklab(60.84% 0.1496 -0.1843)
OKLCHoklch(60.84% 0.237 309.1)
XYZxyz(34.3230, 19.4042, 80.5184)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC48EB #87EB48
analogous
#5A48EB #AC48EB #EB48D8
triadic
#AC48EB #EBAC48 #48EBAC
tetradic
#AC48EB #EB5A48 #87EB48 #48D8EB
square
#AC48EB #EB5A48 #87EB48 #48D8EB
split-complementary
#AC48EB #D8EB48 #48EB5A
monochromatic
#6D12A6 #9118DE #AC48EB #C57FF1 #DEB6F7

Accessibility & contrast

On white

4.30
#AC48EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC48EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC48EB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC48EB#FFFFFF#000000##000000
##AC48EB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#247BE7
Tritanopia (blue-blind)
#A36C95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac48eb;
/* rgb */ color: rgb(172, 72, 235);
/* oklch */ color: oklch(60.8% 0.237 309.1);
Tailwind
colors: {
  custom: {
    50: '#ca83f2',
    500: '#ac48eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac48eb;
$custom-light: #ca83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac48eb",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 276.81,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.23736,
    "h": 309.1
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#AC48EB
secondary
#C0E7A8
accent
#DD095B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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