#A168F2#A168F2

#A168F2 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.2% C 0.200 H 299.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A168F2
RGBrgb(161, 104, 242)
HSLhsl(265, 84%, 68%)
HSVhsv(265, 57%, 95%)
CMYKcmyk(33.5%, 57%, 0%, 5.1%)
CIE-LABlab(55.98, 50.42, -61.29)
CIE-LCHlch(55.98, 79.36, 309.44°)
OKLaboklab(64.18% 0.0995 -0.1736)
OKLCHoklch(64.18% 0.2 299.8)
XYZxyz(35.6714, 23.8882, 86.7188)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168F2 #B9F268
analogous
#6874F2 #A168F2 #E668F2
triadic
#A168F2 #F2A168 #68F2A1
tetradic
#A168F2 #F26874 #B9F268 #68F2E6
square
#A168F2 #F26874 #B9F268 #68F2E6
split-complementary
#A168F2 #F2E668 #74F268
monochromatic
#5F12CE #7E30ED #A168F2 #C4A0F7 #E7D9FC

Accessibility & contrast

On white

3.63
#A168F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A168F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168F2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168F2#FFFFFF#000000##000000
##A168F21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F7
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#9084A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a168f2;
/* rgb */ color: rgb(161, 104, 242);
/* oklch */ color: oklch(64.2% 0.200 299.8);
Tailwind
colors: {
  custom: {
    50: '#c195f7',
    500: '#a168f2',
    950: '#000000',
  },
}
SCSS
$custom: #a168f2;
$custom-light: #c195f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a168f2",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 264.783,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64183,
    "c": 0.20016,
    "h": 299.8
  },
  "luminance": 0.23889
}

Semantic roles & 50–950 ramp

primary
#A168F2
secondary
#DFF0C6
accent
#E10586
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168F2

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

Preview Lab → · Contrast checker → · Palette generator →

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