#9271AC#9271AC

#9271AC is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.3% C 0.095 H 309.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9271AC
RGBrgb(146, 113, 172)
HSLhsl(274, 26%, 56%)
HSVhsv(274, 34%, 67%)
CMYKcmyk(15.1%, 34.3%, 0%, 32.5%)
CIE-LABlab(52.84, 24.50, -26.58)
CIE-LCHlch(52.84, 36.16, 312.67°)
OKLaboklab(60.32% 0.06 -0.0732)
OKLCHoklch(60.32% 0.095 309.4)
XYZxyz(25.2042, 20.9001, 41.7281)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271AC #8BAC71
analogous
#7471AC #9271AC #AC71A8
triadic
#9271AC #AC9271 #71AC92
tetradic
#9271AC #AC7471 #8BAC71 #71A8AC
square
#9271AC #AC7471 #8BAC71 #71A8AC
split-complementary
#9271AC #A8AC71 #71AC74
monochromatic
#543C67 #73538D #9271AC #B098C3 #CDBED9

Accessibility & contrast

On white

4.05
#9271AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9271AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271AC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271AC#FFFFFF#000000##000000
##9271AC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667DAE
Deuteranopia (green-blind)
#6D7FAA
Tritanopia (blue-blind)
#8F7987
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9271ac;
/* rgb */ color: rgb(146, 113, 172);
/* oklch */ color: oklch(60.3% 0.095 309.4);
Tailwind
colors: {
  custom: {
    50: '#b39ac5',
    500: '#9271ac',
    950: '#000000',
  },
}
SCSS
$custom: #9271ac;
$custom-light: #b39ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ac",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 273.559,
    "s": 26.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.09464,
    "h": 309.4
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#9271AC
secondary
#BBC9B0
accent
#C3658E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9271AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9271AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva