#9271F9#9271F9

#9271F9 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.195 H 291.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9271F9
RGBrgb(146, 113, 249)
HSLhsl(255, 92%, 71%)
HSVhsv(255, 55%, 98%)
CMYKcmyk(41.4%, 54.6%, 0%, 2.4%)
CIE-LABlab(56.84, 43.91, -63.86)
CIE-LCHlch(56.84, 77.50, 304.51°)
OKLaboklab(64.61% 0.0702 -0.1816)
OKLCHoklch(64.61% 0.195 291.1)
XYZxyz(34.8534, 24.7597, 92.5469)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271F9 #D8F971
analogous
#7194F9 #9271F9 #D671F9
triadic
#9271F9 #F99271 #71F992
tetradic
#9271F9 #F97194 #D8F971 #71F9D6
square
#9271F9 #F97194 #D8F971 #71F9D6
split-complementary
#9271F9 #F9D671 #94F971
monochromatic
#3F0AE6 #6536F7 #9271F9 #BFACFB #E8E2FE

Accessibility & contrast

On white

3.53
#9271F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9271F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271F9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271F9#FFFFFF#000000##000000
##9271F91.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8BFE
Deuteranopia (green-blind)
#3286F6
Tritanopia (blue-blind)
#758EAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9271f9;
/* rgb */ color: rgb(146, 113, 249);
/* oklch */ color: oklch(64.6% 0.195 291.1);
Tailwind
colors: {
  custom: {
    50: '#b79bfc',
    500: '#9271f9',
    950: '#000000',
  },
}
SCSS
$custom: #9271f9;
$custom-light: #b79bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9271f9",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 254.559,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64615,
    "c": 0.19475,
    "h": 291.1
  },
  "luminance": 0.24761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9271F9

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

Preview Lab → · Contrast checker → · Palette generator →

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