#9271BC#9271BC

#9271BC is a mid, moderate violet. Relative luminance 0.216; OKLCH L 61.1% C 0.116 H 303.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9271BC
RGBrgb(146, 113, 188)
HSLhsl(266, 36%, 59%)
HSVhsv(266, 40%, 74%)
CMYKcmyk(22.3%, 39.9%, 0%, 26.3%)
CIE-LABlab(53.55, 28.23, -34.71)
CIE-LCHlch(53.55, 44.74, 309.12°)
OKLaboklab(61.09% 0.0637 -0.0965)
OKLCHoklch(61.09% 0.116 303.4)
XYZxyz(26.8344, 21.5521, 50.3135)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271BC #9BBC71
analogous
#7176BC #9271BC #B871BC
triadic
#9271BC #BC9271 #71BC92
tetradic
#9271BC #BC7176 #9BBC71 #71BCB8
square
#9271BC #BC7176 #9BBC71 #71BCB8
split-complementary
#9271BC #BCB871 #76BC71
monochromatic
#553979 #734DA3 #9271BC #B29BD0 #D2C4E3

Accessibility & contrast

On white

3.95
#9271BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9271BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271BC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271BC#FFFFFF#000000##000000
##9271BC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#8B7D8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9271bc;
/* rgb */ color: rgb(146, 113, 188);
/* oklch */ color: oklch(61.1% 0.116 303.4);
Tailwind
colors: {
  custom: {
    50: '#b39ad0',
    500: '#9271bc',
    950: '#000000',
  },
}
SCSS
$custom: #9271bc;
$custom-light: #b39ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9271bc",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 266.4,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61087,
    "c": 0.11563,
    "h": 303.4
  },
  "luminance": 0.21552
}

Semantic roles & 50–950 ramp

primary
#9271BC
secondary
#C6D3B6
accent
#CC5C9B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9271BC

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

Preview Lab → · Contrast checker → · Palette generator →

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