#A358EF#A358EF

#A358EF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.219 H 303.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A358EF
RGBrgb(163, 88, 239)
HSLhsl(270, 83%, 64%)
HSVhsv(270, 63%, 94%)
CMYKcmyk(31.8%, 63.2%, 0%, 6.3%)
CIE-LABlab(52.95, 58.34, -64.48)
CIE-LCHlch(52.95, 86.96, 312.14°)
OKLaboklab(61.97% 0.1207 -0.1829)
OKLCHoklch(61.97% 0.219 303.4)
XYZxyz(34.1704, 20.9980, 83.8975)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A358EF #A4EF58
analogous
#5859EF #A358EF #EE58EF
triadic
#A358EF #EFA358 #58EFA3
tetradic
#A358EF #EF5859 #A4EF58 #58EFEE
square
#A358EF #EF5859 #A4EF58 #58EFEE
split-complementary
#A358EF #EFEE58 #59EF58
monochromatic
#6612BB #8420EA #A358EF #C290F4 #E1C8FA

Accessibility & contrast

On white

4.04
#A358EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A358EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A358EF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A358EF#FFFFFF#000000##000000
##A358EF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#297EEC
Tritanopia (blue-blind)
#94799C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a358ef;
/* rgb */ color: rgb(163, 88, 239);
/* oklch */ color: oklch(62.0% 0.219 303.4);
Tailwind
colors: {
  custom: {
    50: '#c38bf5',
    500: '#a358ef',
    950: '#000000',
  },
}
SCSS
$custom: #a358ef;
$custom-light: #c38bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a358ef",
  "rgb": {
    "r": 163,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 269.801,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.21915,
    "h": 303.4
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#A358EF
secondary
#D2ECB7
accent
#DF0773
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A358EF

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

Preview Lab → · Contrast checker → · Palette generator →

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