#9271AF#9271AF

#9271AF is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.5% C 0.099 H 308.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9271AF
RGBrgb(146, 113, 175)
HSLhsl(272, 28%, 56%)
HSVhsv(272, 35%, 69%)
CMYKcmyk(16.6%, 35.4%, 0%, 31.4%)
CIE-LABlab(52.97, 25.19, -28.12)
CIE-LCHlch(52.97, 37.75, 311.85°)
OKLaboklab(60.46% 0.0608 -0.0776)
OKLCHoklch(60.46% 0.099 308.1)
XYZxyz(25.4956, 21.0166, 43.2626)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271AF #8EAF71
analogous
#7371AF #9271AF #AF71AD
triadic
#9271AF #AF9271 #71AF92
tetradic
#9271AF #AF7371 #8EAF71 #71ADAF
square
#9271AF #AF7371 #8EAF71 #71ADAF
split-complementary
#9271AF #ADAF71 #71AF73
monochromatic
#543C6A #735291 #9271AF #B098C5 #CEBFDB

Accessibility & contrast

On white

4.04
#9271AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9271AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271AF#FFFFFF#000000##000000
##9271AF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB1
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#8E7A88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9271af;
/* rgb */ color: rgb(146, 113, 175);
/* oklch */ color: oklch(60.5% 0.099 308.1);
Tailwind
colors: {
  custom: {
    50: '#b39ac7',
    500: '#9271af',
    950: '#000000',
  },
}
SCSS
$custom: #9271af;
$custom-light: #b39ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9271af",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 271.935,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.09855,
    "h": 308.1
  },
  "luminance": 0.21016
}

Semantic roles & 50–950 ramp

primary
#9271AF
secondary
#BDCBB1
accent
#C46491
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #9271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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