#A368EB#A368EB

#A368EB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.192 H 302.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A368EB
RGBrgb(163, 104, 235)
HSLhsl(267, 77%, 66%)
HSVhsv(267, 56%, 92%)
CMYKcmyk(30.6%, 55.7%, 0%, 7.8%)
CIE-LABlab(55.77, 49.18, -57.70)
CIE-LCHlch(55.77, 75.82, 310.44°)
OKLaboklab(63.95% 0.102 -0.1631)
OKLCHoklch(63.95% 0.192 302)
XYZxyz(35.0465, 23.6852, 81.3065)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A368EB #B0EB68
analogous
#686FEB #A368EB #E568EB
triadic
#A368EB #EBA368 #68EBA3
tetradic
#A368EB #EB686F #B0EB68 #68EBE5
square
#A368EB #EB686F #B0EB68 #68EBE5
split-complementary
#A368EB #EBE568 #6FEB68
monochromatic
#6419BF #8232E4 #A368EB #C49EF2 #E5D4F9

Accessibility & contrast

On white

3.66
#A368EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A368EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A368EB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A368EB#FFFFFF#000000##000000
##A368EB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#9582A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a368eb;
/* rgb */ color: rgb(163, 104, 235);
/* oklch */ color: oklch(63.9% 0.192 302.0);
Tailwind
colors: {
  custom: {
    50: '#c295f2',
    500: '#a368eb',
    950: '#000000',
  },
}
SCSS
$custom: #a368eb;
$custom-light: #c295f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a368eb",
  "rgb": {
    "r": 163,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 267.023,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63947,
    "c": 0.19233,
    "h": 302
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#A368EB
secondary
#DAEDC2
accent
#D90D7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A368EB

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

Preview Lab → · Contrast checker → · Palette generator →

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