#A368EC#A368EC

#A368EC is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.194 H 301.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A368EC
RGBrgb(163, 104, 236)
HSLhsl(267, 78%, 67%)
HSVhsv(267, 56%, 93%)
CMYKcmyk(30.9%, 55.9%, 0%, 7.5%)
CIE-LABlab(55.83, 49.42, -58.17)
CIE-LCHlch(55.83, 76.33, 310.35°)
OKLaboklab(64.01% 0.102 -0.1644)
OKLCHoklch(64.01% 0.194 301.8)
XYZxyz(35.1914, 23.7432, 82.0695)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A368EC #B1EC68
analogous
#686FEC #A368EC #E568EC
triadic
#A368EC #ECA368 #68ECA3
tetradic
#A368EC #EC686F #B1EC68 #68ECE5
square
#A368EC #EC686F #B1EC68 #68ECE5
split-complementary
#A368EC #ECE568 #6FEC68
monochromatic
#6418C1 #8232E5 #A368EC #C49EF3 #E5D5FA

Accessibility & contrast

On white

3.65
#A368EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A368EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A368EC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A368EC#FFFFFF#000000##000000
##A368EC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#9582A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a368ec;
/* rgb */ color: rgb(163, 104, 236);
/* oklch */ color: oklch(64.0% 0.194 301.8);
Tailwind
colors: {
  custom: {
    50: '#c295f3',
    500: '#a368ec',
    950: '#000000',
  },
}
SCSS
$custom: #a368ec;
$custom-light: #c295f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a368ec",
  "rgb": {
    "r": 163,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 266.818,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64009,
    "c": 0.1935,
    "h": 301.8
  },
  "luminance": 0.23743
}

Semantic roles & 50–950 ramp

primary
#A368EC
secondary
#DAEDC3
accent
#DA0C7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A368EC

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

Preview Lab → · Contrast checker → · Palette generator →

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