#9271FE#9271FE

#9271FE is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 64.9% C 0.201 H 290.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9271FE
RGBrgb(146, 113, 254)
HSLhsl(254, 99%, 72%)
HSVhsv(254, 56%, 100%)
CMYKcmyk(42.5%, 55.5%, 0%, 0.4%)
CIE-LABlab(57.15, 45.27, -66.13)
CIE-LCHlch(57.15, 80.14, 304.39°)
OKLaboklab(64.94% 0.0703 -0.1883)
OKLCHoklch(64.94% 0.201 290.5)
XYZxyz(35.6436, 25.0758, 96.7088)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271FE #DDFE71
analogous
#7196FE #9271FE #D971FE
triadic
#9271FE #FE9271 #71FE92
tetradic
#9271FE #FE7196 #DDFE71 #71FED9
square
#9271FE #FE7196 #DDFE71 #71FED9
split-complementary
#9271FE #FED971 #96FE71
monochromatic
#3A02F3 #6334FE #9271FE #C1AEFE #E8E1FF

Accessibility & contrast

On white

3.49
#9271FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9271FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271FE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271FE#FFFFFF#000000##000000
##9271FE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#208CFF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#7390AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9271fe;
/* rgb */ color: rgb(146, 113, 254);
/* oklch */ color: oklch(64.9% 0.201 290.5);
Tailwind
colors: {
  custom: {
    50: '#b89bff',
    500: '#9271fe',
    950: '#000000',
  },
}
SCSS
$custom: #9271fe;
$custom-light: #b89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9271fe",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 254.043,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.201,
    "h": 290.5
  },
  "luminance": 0.25077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9271FE

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

Preview Lab → · Contrast checker → · Palette generator →

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