#A345F0#A345F0

#A345F0 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.8% C 0.243 H 305.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A345F0
RGBrgb(163, 69, 240)
HSLhsl(273, 85%, 61%)
HSVhsv(273, 71%, 94%)
CMYKcmyk(32.1%, 71.3%, 0%, 5.9%)
CIE-LABlab(49.90, 67.22, -69.97)
CIE-LCHlch(49.90, 97.03, 313.85°)
OKLaboklab(59.81% 0.1401 -0.199)
OKLCHoklch(59.81% 0.243 305.1)
XYZxyz(32.9570, 18.3343, 84.2238)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345F0 #92F045
analogous
#4D45F0 #A345F0 #F045E8
triadic
#A345F0 #F0A345 #45F0A3
tetradic
#A345F0 #F04D45 #92F045 #45E8F0
square
#A345F0 #F04D45 #92F045 #45E8F0
split-complementary
#A345F0 #E8F045 #45F04D
monochromatic
#650EAD #8612E5 #A345F0 #BF7EF5 #DBB6F9

Accessibility & contrast

On white

4.50
#A345F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A345F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A345F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345F0#FFFFFF#000000##000000
##A345F01.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#956E97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a345f0;
/* rgb */ color: rgb(163, 69, 240);
/* oklch */ color: oklch(59.8% 0.243 305.1);
Tailwind
colors: {
  custom: {
    50: '#c480f6',
    500: '#a345f0',
    950: '#000000',
  },
}
SCSS
$custom: #a345f0;
$custom-light: #c480f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a345f0",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 272.982,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.24335,
    "h": 305.1
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

primary
#A345F0
secondary
#C5E9A8
accent
#E20468
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A345F0

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

Preview Lab → · Contrast checker → · Palette generator →

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