#A348D9#A348D9

#A348D9 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.217 H 310.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A348D9
RGBrgb(163, 72, 217)
HSLhsl(278, 66%, 57%)
HSVhsv(278, 67%, 85%)
CMYKcmyk(24.9%, 66.8%, 0%, 14.9%)
CIE-LABlab(48.80, 60.91, -58.74)
CIE-LCHlch(48.80, 84.62, 316.04°)
OKLaboklab(58.53% 0.1401 -0.166)
OKLCHoklch(58.53% 0.217 310.2)
XYZxyz(29.9436, 17.4316, 67.4194)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A348D9 #7ED948
analogous
#5B48D9 #A348D9 #D948C7
triadic
#A348D9 #D9A348 #48D9A3
tetradic
#A348D9 #D95B48 #7ED948 #48C7D9
square
#A348D9 #D95B48 #7ED948 #48C7D9
split-complementary
#A348D9 #C7D948 #48D95B
monochromatic
#611D8A #8527BD #A348D9 #BC7BE4 #D6ADEE

Accessibility & contrast

On white

4.68
#A348D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A348D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A348D9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A348D9#FFFFFF#000000##FFFFFF
##A348D91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#9C668B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a348d9;
/* rgb */ color: rgb(163, 72, 217);
/* oklch */ color: oklch(58.5% 0.217 310.2);
Tailwind
colors: {
  custom: {
    50: '#c281e5',
    500: '#a348d9',
    950: '#000000',
  },
}
SCSS
$custom: #a348d9;
$custom-light: #c281e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a348d9",
  "rgb": {
    "r": 163,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 277.655,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.21719,
    "h": 310.2
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#A348D9
secondary
#B7DCA1
accent
#E93F7E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A348D9

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

Preview Lab → · Contrast checker → · Palette generator →

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