#9271FD#9271FD

#9271FD is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.9% C 0.200 H 290.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9271FD
RGBrgb(146, 113, 253)
HSLhsl(254, 97%, 72%)
HSVhsv(254, 55%, 99%)
CMYKcmyk(42.3%, 55.3%, 0%, 0.8%)
CIE-LABlab(57.09, 45.00, -65.68)
CIE-LCHlch(57.09, 79.61, 304.41°)
OKLaboklab(64.88% 0.0703 -0.187)
OKLCHoklch(64.88% 0.2 290.6)
XYZxyz(35.4839, 25.0119, 95.8677)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271FD #DCFD71
analogous
#7196FD #9271FD #D871FD
triadic
#9271FD #FD9271 #71FD92
tetradic
#9271FD #FD7196 #DCFD71 #71FDD8
square
#9271FD #FD7196 #DCFD71 #71FDD8
split-complementary
#9271FD #FDD871 #96FD71
monochromatic
#3B03F0 #6435FC #9271FD #C0ADFE #E8E1FF

Accessibility & contrast

On white

3.50
#9271FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9271FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271FD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271FD#FFFFFF#000000##000000
##9271FD1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#2B86FA
Tritanopia (blue-blind)
#738FAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9271fd;
/* rgb */ color: rgb(146, 113, 253);
/* oklch */ color: oklch(64.9% 0.200 290.6);
Tailwind
colors: {
  custom: {
    50: '#b89bff',
    500: '#9271fd',
    950: '#000000',
  },
}
SCSS
$custom: #9271fd;
$custom-light: #b89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9271fd",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 254.143,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64876,
    "c": 0.19976,
    "h": 290.6
  },
  "luminance": 0.25013
}

Semantic roles & 50–950 ramp

primary
#9271FD
secondary
#EEF7D3
accent
#E600AF
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9271FD

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

Preview Lab → · Contrast checker → · Palette generator →

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