#9271CE#9271CE

#9271CE is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.0% C 0.139 H 298.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9271CE
RGBrgb(146, 113, 206)
HSLhsl(261, 49%, 63%)
HSVhsv(261, 45%, 81%)
CMYKcmyk(29.1%, 45.1%, 0%, 19.2%)
CIE-LABlab(54.42, 32.65, -43.61)
CIE-LCHlch(54.42, 54.48, 306.82°)
OKLaboklab(62.03% 0.0668 -0.1223)
OKLCHoklch(62.03% 0.139 298.6)
XYZxyz(28.8971, 22.3772, 61.1774)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271CE #ADCE71
analogous
#717FCE #9271CE #C071CE
triadic
#9271CE #CE9271 #71CE92
tetradic
#9271CE #CE717F #ADCE71 #71CEC0
square
#9271CE #CE717F #ADCE71 #71CEC0
split-complementary
#9271CE #CEC071 #7FCE71
monochromatic
#543292 #6F44BE #9271CE #B59EDE #D8CCED

Accessibility & contrast

On white

3.84
#9271CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9271CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271CE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271CE#FFFFFF#000000##000000
##9271CE1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#868296
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9271ce;
/* rgb */ color: rgb(146, 113, 206);
/* oklch */ color: oklch(62.0% 0.139 298.6);
Tailwind
colors: {
  custom: {
    50: '#b49add',
    500: '#9271ce',
    950: '#000000',
  },
}
SCSS
$custom: #9271ce;
$custom-light: #b49add;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ce",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 261.29,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.13938,
    "h": 298.6
  },
  "luminance": 0.22377
}

Semantic roles & 50–950 ramp

primary
#9271CE
secondary
#D2DEBC
accent
#BC2A88
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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