#A368EF#A368EF

#A368EF is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.197 H 301.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A368EF
RGBrgb(163, 104, 239)
HSLhsl(266, 81%, 67%)
HSVhsv(266, 56%, 94%)
CMYKcmyk(31.8%, 56.5%, 0%, 6.3%)
CIE-LABlab(56.01, 50.15, -59.56)
CIE-LCHlch(56.01, 77.86, 310.10°)
OKLaboklab(64.2% 0.102 -0.1685)
OKLCHoklch(64.2% 0.197 301.2)
XYZxyz(35.6309, 23.9190, 84.3843)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A368EF #B4EF68
analogous
#6871EF #A368EF #E668EF
triadic
#A368EF #EFA368 #68EFA3
tetradic
#A368EF #EF6871 #B4EF68 #68EFE6
square
#A368EF #EF6871 #B4EF68 #68EFE6
split-complementary
#A368EF #EFE668 #71EF68
monochromatic
#6315C7 #8131E9 #A368EF #C59FF5 #E6D7FB

Accessibility & contrast

On white

3.63
#A368EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A368EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A368EF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A368EF#FFFFFF#000000##000000
##A368EF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#4386EC
Tritanopia (blue-blind)
#9483A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a368ef;
/* rgb */ color: rgb(163, 104, 239);
/* oklch */ color: oklch(64.2% 0.197 301.2);
Tailwind
colors: {
  custom: {
    50: '#c295f5',
    500: '#a368ef',
    950: '#000000',
  },
}
SCSS
$custom: #a368ef;
$custom-light: #c295f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a368ef",
  "rgb": {
    "r": 163,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 266.222,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.197,
    "h": 301.2
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#A368EF
secondary
#DCEFC4
accent
#DD0880
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A368EF

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

Preview Lab → · Contrast checker → · Palette generator →

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