#A345DF#A345DF

#A345DF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.227 H 309.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A345DF
RGBrgb(163, 69, 223)
HSLhsl(277, 71%, 57%)
HSVhsv(277, 69%, 87%)
CMYKcmyk(26.9%, 69.1%, 0%, 12.5%)
CIE-LABlab(48.72, 63.51, -62.28)
CIE-LCHlch(48.72, 88.95, 315.56°)
OKLaboklab(58.6% 0.1426 -0.1764)
OKLCHoklch(58.6% 0.227 309)
XYZxyz(30.5490, 17.3710, 71.5414)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345DF #81DF45
analogous
#5645DF #A345DF #DF45CE
triadic
#A345DF #DFA345 #45DFA3
tetradic
#A345DF #DF5645 #81DF45 #45CEDF
square
#A345DF #DF5645 #81DF45 #45CEDF
split-complementary
#A345DF #CEDF45 #45DF56
monochromatic
#621991 #8522C5 #A345DF #BD79E8 #D7ADF1

Accessibility & contrast

On white

4.69
#A345DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A345DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345DF#FFFFFF#000000##FFFFFF
##A345DF1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#9A678D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a345df;
/* rgb */ color: rgb(163, 69, 223);
/* oklch */ color: oklch(58.6% 0.227 309.0);
Tailwind
colors: {
  custom: {
    50: '#c380ea',
    500: '#a345df',
    950: '#000000',
  },
}
SCSS
$custom: #a345df;
$custom-light: #c380ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a345df",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 276.623,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.22678,
    "h": 309
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#A345DF
secondary
#B9DFA1
accent
#ED3A80
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345DF

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

Preview Lab → · Contrast checker → · Palette generator →

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