#A348E2#A348E2

#A348E2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.226 H 308.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A348E2
RGBrgb(163, 72, 226)
HSLhsl(275, 73%, 58%)
HSVhsv(275, 68%, 89%)
CMYKcmyk(27.9%, 68.1%, 0%, 11.4%)
CIE-LABlab(49.39, 62.86, -62.90)
CIE-LCHlch(49.39, 88.93, 314.98°)
OKLaboklab(59.14% 0.1391 -0.1782)
OKLCHoklch(59.14% 0.226 308)
XYZxyz(31.1462, 17.9127, 73.7535)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A348E2 #87E248
analogous
#5648E2 #A348E2 #E248D4
triadic
#A348E2 #E2A348 #48E2A3
tetradic
#A348E2 #E25648 #87E248 #48D4E2
square
#A348E2 #E25648 #87E248 #48D4E2
split-complementary
#A348E2 #D4E248 #48E256
monochromatic
#631898 #8620CC #A348E2 #BE7DEA #D8B2F3

Accessibility & contrast

On white

4.58
#A348E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A348E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A348E2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A348E2#FFFFFF#000000##000000
##A348E21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2376DF
Tritanopia (blue-blind)
#996A90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a348e2;
/* rgb */ color: rgb(163, 72, 226);
/* oklch */ color: oklch(59.1% 0.226 308.0);
Tailwind
colors: {
  custom: {
    50: '#c382ec',
    500: '#a348e2',
    950: '#000000',
  },
}
SCSS
$custom: #a348e2;
$custom-light: #c382ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a348e2",
  "rgb": {
    "r": 163,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 275.455,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.2261,
    "h": 308
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#A348E2
secondary
#BDE1A4
accent
#EF3883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A348E2

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

Preview Lab → · Contrast checker → · Palette generator →

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