#A366FB#A366FB

#A366FB is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.214 H 299.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A366FB
RGBrgb(163, 102, 251)
HSLhsl(265, 95%, 69%)
HSVhsv(265, 59%, 98%)
CMYKcmyk(35.1%, 59.4%, 0%, 1.6%)
CIE-LABlab(56.34, 54.13, -65.69)
CIE-LCHlch(56.34, 85.12, 309.49°)
OKLaboklab(64.68% 0.1043 -0.1865)
OKLCHoklch(64.68% 0.214 299.2)
XYZxyz(37.2639, 24.2539, 93.9663)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366FB #BEFB66
analogous
#6674FB #A366FB #EE66FB
triadic
#A366FB #FBA366 #66FBA3
tetradic
#A366FB #FB6674 #BEFB66 #66FBEE
square
#A366FB #FB6674 #BEFB66 #66FBEE
split-complementary
#A366FB #FBEE66 #74FB66
monochromatic
#5F06E1 #7F2AF9 #A366FB #C7A2FD #EBDDFE

Accessibility & contrast

On white

3.59
#A366FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A366FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366FB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366FB#FFFFFF#000000##000000
##A366FB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2F86F8
Tritanopia (blue-blind)
#9086A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a366fb;
/* rgb */ color: rgb(163, 102, 251);
/* oklch */ color: oklch(64.7% 0.214 299.2);
Tailwind
colors: {
  custom: {
    50: '#c394fd',
    500: '#a366fb',
    950: '#000000',
  },
}
SCSS
$custom: #a366fb;
$custom-light: #c394fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a366fb",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 264.564,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64675,
    "c": 0.21367,
    "h": 299.2
  },
  "luminance": 0.24254
}

Semantic roles & 50–950 ramp

primary
#A366FB
secondary
#E2F4C9
accent
#E60088
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A366FB

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

Preview Lab → · Contrast checker → · Palette generator →

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