#A174FB#A174FB

#A174FB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.194 H 296.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A174FB
RGBrgb(161, 116, 251)
HSLhsl(260, 94%, 72%)
HSVhsv(260, 54%, 98%)
CMYKcmyk(35.9%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.00, 46.18, -61.42)
CIE-LCHlch(59.00, 76.84, 306.94°)
OKLaboklab(66.58% 0.0853 -0.174)
OKLCHoklch(66.58% 0.194 296.1)
XYZxyz(38.3515, 27.0322, 94.4452)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174FB #CEFB74
analogous
#748BFB #A174FB #E574FB
triadic
#A174FB #FBA174 #74FBA1
tetradic
#A174FB #FB748B #CEFB74 #74FBE5
square
#A174FB #FB748B #CEFB74 #74FBE5
split-complementary
#A174FB #FBE574 #8BFB74
monochromatic
#5407EE #7939F9 #A174FB #C9AFFD #EBE1FE

Accessibility & contrast

On white

3.28
#A174FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A174FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174FB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174FB#FFFFFF#000000##000000
##A174FB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#8C90AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a174fb;
/* rgb */ color: rgb(161, 116, 251);
/* oklch */ color: oklch(66.6% 0.194 296.1);
Tailwind
colors: {
  custom: {
    50: '#c19dfd',
    500: '#a174fb',
    950: '#000000',
  },
}
SCSS
$custom: #a174fb;
$custom-light: #c19dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a174fb",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.19381,
    "h": 296.1
  },
  "luminance": 0.27033
}

Semantic roles & 50–950 ramp

primary
#A174FB
secondary
#EBF6D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A174FB

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

Preview Lab → · Contrast checker → · Palette generator →

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