#A358EB#A358EB

#A358EB is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.215 H 304.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A358EB
RGBrgb(163, 88, 235)
HSLhsl(271, 79%, 63%)
HSVhsv(271, 63%, 92%)
CMYKcmyk(30.6%, 62.6%, 0%, 7.8%)
CIE-LABlab(52.69, 57.41, -62.65)
CIE-LCHlch(52.69, 84.98, 312.50°)
OKLaboklab(61.7% 0.121 -0.1776)
OKLCHoklch(61.7% 0.215 304.3)
XYZxyz(33.5860, 20.7643, 80.8197)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A358EB #A0EB58
analogous
#5958EB #A358EB #EB58EA
triadic
#A358EB #EBA358 #58EBA3
tetradic
#A358EB #EB5958 #A0EB58 #58EAEB
square
#A358EB #EB5958 #A0EB58 #58EAEB
split-complementary
#A358EB #EAEB58 #58EB59
monochromatic
#6615B3 #8521E4 #A358EB #C18FF2 #DFC5F8

Accessibility & contrast

On white

4.08
#A358EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A358EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A358EB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A358EB#FFFFFF#000000##000000
##A358EB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#96779A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a358eb;
/* rgb */ color: rgb(163, 88, 235);
/* oklch */ color: oklch(61.7% 0.215 304.3);
Tailwind
colors: {
  custom: {
    50: '#c38bf2',
    500: '#a358eb',
    950: '#000000',
  },
}
SCSS
$custom: #a358eb;
$custom-light: #c38bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a358eb",
  "rgb": {
    "r": 163,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 270.612,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.21484,
    "h": 304.3
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#A358EB
secondary
#CFEAB5
accent
#DB0B71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A358EB

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

Preview Lab → · Contrast checker → · Palette generator →

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