#A168F8#A168F8

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

Color values

HEX#A168F8
RGBrgb(161, 104, 248)
HSLhsl(264, 91%, 69%)
HSVhsv(264, 58%, 97%)
CMYKcmyk(35.1%, 58.1%, 0%, 2.7%)
CIE-LABlab(56.34, 51.90, -64.04)
CIE-LCHlch(56.34, 82.43, 309.03°)
OKLaboklab(64.57% 0.0995 -0.1817)
OKLCHoklch(64.57% 0.207 298.7)
XYZxyz(36.5873, 24.2546, 91.5427)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168F8 #BFF868
analogous
#6877F8 #A168F8 #E968F8
triadic
#A168F8 #F8A168 #68F8A1
tetradic
#A168F8 #F86877 #BFF868 #68F8E9
square
#A168F8 #F86877 #BFF868 #68F8E9
split-complementary
#A168F8 #F8E968 #77F868
monochromatic
#5D0ADB #7D2EF5 #A168F8 #C5A2FB #EADDFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A168F8#FFFFFF#000000##000000
##A168F81.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)
#1587FD
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#8E86A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a168f8;
/* rgb */ color: rgb(161, 104, 248);
/* oklch */ color: oklch(64.6% 0.207 298.7);
Tailwind
colors: {
  custom: {
    50: '#c295fb',
    500: '#a168f8',
    950: '#000000',
  },
}
SCSS
$custom: #a168f8;
$custom-light: #c295fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a168f8",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 263.75,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64568,
    "c": 0.20716,
    "h": 298.7
  },
  "luminance": 0.24255
}

Semantic roles & 50–950 ramp

primary
#A168F8
secondary
#E2F3C9
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168F8

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

Preview Lab → · Contrast checker → · Palette generator →

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