#9271FF#9271FF

#9271FF is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.0% C 0.202 H 290.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9271FF
RGBrgb(146, 113, 255)
HSLhsl(254, 100%, 72%)
HSVhsv(254, 56%, 100%)
CMYKcmyk(42.7%, 55.7%, 0%, 0%)
CIE-LABlab(57.21, 45.54, -66.58)
CIE-LCHlch(57.21, 80.67, 304.37°)
OKLaboklab(65.01% 0.0703 -0.1896)
OKLCHoklch(65.01% 0.202 290.3)
XYZxyz(35.8042, 25.1401, 97.5544)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271FF #DEFF71
analogous
#7197FF #9271FF #D971FF
triadic
#9271FF #FF9271 #71FF92
tetradic
#9271FF #FF7197 #DEFF71 #71FFD9
square
#9271FF #FF7197 #DEFF71 #71FFD9
split-complementary
#9271FF #FFD971 #97FF71
monochromatic
#3900F6 #6334FF #9271FF #C1AEFF #E8E0FF

Accessibility & contrast

On white

3.48
#9271FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9271FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271FF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271FF#FFFFFF#000000##000000
##9271FF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8CFF
Deuteranopia (green-blind)
#2686FC
Tritanopia (blue-blind)
#7290AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9271ff;
/* rgb */ color: rgb(146, 113, 255);
/* oklch */ color: oklch(65.0% 0.202 290.3);
Tailwind
colors: {
  custom: {
    50: '#b89bff',
    500: '#9271ff',
    950: '#000000',
  },
}
SCSS
$custom: #9271ff;
$custom-light: #b89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ff",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 253.944,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.20224,
    "h": 290.3
  },
  "luminance": 0.25141
}

Semantic roles & 50–950 ramp

primary
#9271FF
secondary
#EFF7D4
accent
#E600B0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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