#A168F9#A168F9

#A168F9 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.6% C 0.208 H 298.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A168F9
RGBrgb(161, 104, 249)
HSLhsl(264, 92%, 69%)
HSVhsv(264, 58%, 98%)
CMYKcmyk(35.3%, 58.2%, 0%, 2.4%)
CIE-LABlab(56.40, 52.15, -64.49)
CIE-LCHlch(56.40, 82.94, 308.96°)
OKLaboklab(64.63% 0.0995 -0.183)
OKLCHoklch(64.63% 0.208 298.5)
XYZxyz(36.7429, 24.3168, 92.3620)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168F9 #C0F968
analogous
#6878F9 #A168F9 #E968F9
triadic
#A168F9 #F9A168 #68F9A1
tetradic
#A168F9 #F96878 #C0F968 #68F9E9
square
#A168F9 #F96878 #C0F968 #68F9E9
split-complementary
#A168F9 #F9E968 #78F968
monochromatic
#5D09DE #7C2DF7 #A168F9 #C6A3FB #EADEFE

Accessibility & contrast

On white

3.58
#A168F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A168F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168F9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168F9#FFFFFF#000000##000000
##A168F91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1287FE
Deuteranopia (green-blind)
#3486F6
Tritanopia (blue-blind)
#8D87A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a168f9;
/* rgb */ color: rgb(161, 104, 249);
/* oklch */ color: oklch(64.6% 0.208 298.5);
Tailwind
colors: {
  custom: {
    50: '#c295fc',
    500: '#a168f9',
    950: '#000000',
  },
}
SCSS
$custom: #a168f9;
$custom-light: #c295fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a168f9",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 249
  },
  "hsl": {
    "h": 263.586,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.20833,
    "h": 298.5
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#A168F9
secondary
#E3F3C9
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A168F9

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

Preview Lab → · Contrast checker → · Palette generator →

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