#A368FB#A368FB

#A368FB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.0% C 0.211 H 298.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A368FB
RGBrgb(163, 104, 251)
HSLhsl(264, 95%, 70%)
HSVhsv(264, 59%, 98%)
CMYKcmyk(35.1%, 58.6%, 0%, 1.6%)
CIE-LABlab(56.73, 53.09, -65.06)
CIE-LCHlch(56.73, 83.97, 309.22°)
OKLaboklab(64.96% 0.102 -0.1846)
OKLCHoklch(64.96% 0.211 298.9)
XYZxyz(37.4629, 24.6518, 94.0326)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A368FB #C0FB68
analogous
#6876FB #A368FB #ED68FB
triadic
#A368FB #FBA368 #68FBA3
tetradic
#A368FB #FB6876 #C0FB68 #68FBED
square
#A368FB #FB6876 #C0FB68 #68FBED
split-complementary
#A368FB #FBED68 #76FB68
monochromatic
#5F06E3 #7F2CF9 #A368FB #C7A4FD #ECDFFE

Accessibility & contrast

On white

3.54
#A368FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A368FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A368FB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A368FB#FFFFFF#000000##000000
##A368FB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#3487F8
Tritanopia (blue-blind)
#8F87A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a368fb;
/* rgb */ color: rgb(163, 104, 251);
/* oklch */ color: oklch(65.0% 0.211 298.9);
Tailwind
colors: {
  custom: {
    50: '#c395fd',
    500: '#a368fb',
    950: '#000000',
  },
}
SCSS
$custom: #a368fb;
$custom-light: #c395fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a368fb",
  "rgb": {
    "r": 163,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 264.082,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64962,
    "c": 0.21093,
    "h": 298.9
  },
  "luminance": 0.24652
}

Semantic roles & 50–950 ramp

primary
#A368FB
secondary
#E4F4CA
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A368FB

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

Preview Lab → · Contrast checker → · Palette generator →

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