#A168DB#A168DB

#A168DB is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.8% C 0.173 H 304.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A168DB
RGBrgb(161, 104, 219)
HSLhsl(270, 61%, 63%)
HSVhsv(270, 53%, 86%)
CMYKcmyk(26.5%, 52.5%, 0%, 14.1%)
CIE-LABlab(54.65, 44.87, -50.52)
CIE-LCHlch(54.65, 67.57, 311.61°)
OKLaboklab(62.78% 0.0988 -0.1421)
OKLCHoklch(62.78% 0.173 304.8)
XYZxyz(32.4317, 22.5923, 69.6563)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168DB #A2DB68
analogous
#6868DB #A168DB #DA68DB
triadic
#A168DB #DBA168 #68DBA1
tetradic
#A168DB #DB6868 #A2DB68 #68DBDA
square
#A168DB #DB6868 #A2DB68 #68DBDA
split-complementary
#A168DB #DBDA68 #68DB68
monochromatic
#6427A2 #8237CF #A168DB #C099E7 #DFCBF3

Accessibility & contrast

On white

3.81
#A168DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A168DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168DB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168DB#FFFFFF#000000##000000
##A168DB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#977D98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a168db;
/* rgb */ color: rgb(161, 104, 219);
/* oklch */ color: oklch(62.8% 0.173 304.8);
Tailwind
colors: {
  custom: {
    50: '#c095e7',
    500: '#a168db',
    950: '#000000',
  },
}
SCSS
$custom: #a168db;
$custom-light: #c095e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a168db",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 269.739,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.17306,
    "h": 304.8
  },
  "luminance": 0.22592
}

Semantic roles & 50–950 ramp

primary
#A168DB
secondary
#D0E4BB
accent
#C91C74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #A168DB

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

Preview Lab → · Contrast checker → · Palette generator →

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