#A168F0#A168F0

#A168F0 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.198 H 300.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A168F0
RGBrgb(161, 104, 240)
HSLhsl(265, 82%, 67%)
HSVhsv(265, 57%, 94%)
CMYKcmyk(32.9%, 56.7%, 0%, 5.9%)
CIE-LABlab(55.86, 49.93, -60.37)
CIE-LCHlch(55.86, 78.34, 309.59°)
OKLaboklab(64.06% 0.0995 -0.1709)
OKLCHoklch(64.06% 0.198 300.2)
XYZxyz(35.3727, 23.7687, 85.1454)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168F0 #B7F068
analogous
#6873F0 #A168F0 #E568F0
triadic
#A168F0 #F0A168 #68F0A1
tetradic
#A168F0 #F06873 #B7F068 #68F0E5
square
#A168F0 #F06873 #B7F068 #68F0E5
split-complementary
#A168F0 #F0E568 #73F068
monochromatic
#6014CA #7E30EA #A168F0 #C4A0F6 #E6D7FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A168F0#FFFFFF#000000##000000
##A168F01.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)
#2885F4
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#9184A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a168f0;
/* rgb */ color: rgb(161, 104, 240);
/* oklch */ color: oklch(64.1% 0.198 300.2);
Tailwind
colors: {
  custom: {
    50: '#c195f6',
    500: '#a168f0',
    950: '#000000',
  },
}
SCSS
$custom: #a168f0;
$custom-light: #c195f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a168f0",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 265.147,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.19781,
    "h": 300.2
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#A168F0
secondary
#DDEFC5
accent
#DE0784
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168F0

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

Preview Lab → · Contrast checker → · Palette generator →

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