#9271FA#9271FA

#9271FA is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.196 H 291.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9271FA
RGBrgb(146, 113, 250)
HSLhsl(254, 93%, 71%)
HSVhsv(254, 55%, 98%)
CMYKcmyk(41.6%, 54.8%, 0%, 2%)
CIE-LABlab(56.90, 44.18, -64.32)
CIE-LCHlch(56.90, 78.03, 304.49°)
OKLaboklab(64.68% 0.0703 -0.183)
OKLCHoklch(64.68% 0.196 291)
XYZxyz(35.0098, 24.8223, 93.3705)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271FA #D9FA71
analogous
#7194FA #9271FA #D771FA
triadic
#9271FA #FA9271 #71FA92
tetradic
#9271FA #FA7194 #D9FA71 #71FAD7
square
#9271FA #FA7194 #D9FA71 #71FAD7
split-complementary
#9271FA #FAD771 #94FA71
monochromatic
#3E08E8 #6536F8 #9271FA #BFACFC #E8E1FE

Accessibility & contrast

On white

3.52
#9271FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9271FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271FA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271FA#FFFFFF#000000##000000
##9271FA1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#3086F7
Tritanopia (blue-blind)
#758EAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9271fa;
/* rgb */ color: rgb(146, 113, 250);
/* oklch */ color: oklch(64.7% 0.196 291.0);
Tailwind
colors: {
  custom: {
    50: '#b89bfd',
    500: '#9271fa',
    950: '#000000',
  },
}
SCSS
$custom: #9271fa;
$custom-light: #b89bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9271fa",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 254.453,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.196,
    "h": 291
  },
  "luminance": 0.24823
}

Semantic roles & 50–950 ramp

primary
#9271FA
secondary
#EDF5D1
accent
#E600AE
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9271FA

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

Preview Lab → · Contrast checker → · Palette generator →

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