#A34FDF#A34FDF

#A34FDF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.214 H 308.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A34FDF
RGBrgb(163, 79, 223)
HSLhsl(275, 69%, 59%)
HSVhsv(275, 65%, 87%)
CMYKcmyk(26.9%, 64.6%, 0%, 12.5%)
CIE-LABlab(50.34, 59.02, -59.67)
CIE-LCHlch(50.34, 83.92, 314.69°)
OKLaboklab(59.76% 0.1319 -0.1687)
OKLCHoklch(59.76% 0.214 308)
XYZxyz(31.2168, 18.7067, 71.7640)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34FDF #8BDF4F
analogous
#5B4FDF #A34FDF #DF4FD3
triadic
#A34FDF #DFA34F #4FDFA3
tetradic
#A34FDF #DF5B4F #8BDF4F #4FD3DF
square
#A34FDF #DF5B4F #8BDF4F #4FD3DF
split-complementary
#A34FDF #D3DF4F #4FDF5B
monochromatic
#641C98 #8625CC #A34FDF #BE83E8 #D9B7F2

Accessibility & contrast

On white

4.43
#A34FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A34FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A34FDF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34FDF#FFFFFF#000000##000000
##A34FDF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#9A6D90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a34fdf;
/* rgb */ color: rgb(163, 79, 223);
/* oklch */ color: oklch(59.8% 0.214 308.0);
Tailwind
colors: {
  custom: {
    50: '#c285ea',
    500: '#a34fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a34fdf;
$custom-light: #c285ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a34fdf",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 275,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.21417,
    "h": 308
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#A34FDF
secondary
#C0E1A9
accent
#EC3C85
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A34FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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