#9271EA#9271EA

#9271EA is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.176 H 293.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9271EA
RGBrgb(146, 113, 234)
HSLhsl(256, 74%, 68%)
HSVhsv(256, 52%, 92%)
CMYKcmyk(37.6%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.95, 39.90, -56.96)
CIE-LCHlch(55.95, 69.54, 305.01°)
OKLaboklab(63.67% 0.0696 -0.1614)
OKLCHoklch(63.67% 0.176 293.3)
XYZxyz(32.6066, 23.8610, 80.7136)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271EA #C9EA71
analogous
#718CEA #9271EA #CF71EA
triadic
#9271EA #EA9271 #71EA92
tetradic
#9271EA #EA718C #C9EA71 #71EACF
square
#9271EA #EA718C #C9EA71 #71EACF
split-complementary
#9271EA #EACF71 #8CEA71
monochromatic
#4A1DC4 #693CE2 #9271EA #BBA6F2 #E4DCFA

Accessibility & contrast

On white

3.64
#9271EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9271EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271EA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271EA#FFFFFF#000000##000000
##9271EA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#7C8AA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9271ea;
/* rgb */ color: rgb(146, 113, 234);
/* oklch */ color: oklch(63.7% 0.176 293.3);
Tailwind
colors: {
  custom: {
    50: '#b69af1',
    500: '#9271ea',
    950: '#000000',
  },
}
SCSS
$custom: #9271ea;
$custom-light: #b69af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ea",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 256.364,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63667,
    "c": 0.17574,
    "h": 293.3
  },
  "luminance": 0.23862
}

Semantic roles & 50–950 ramp

primary
#9271EA
secondary
#E4EEC9
accent
#D60FA0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9271EA

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

Preview Lab → · Contrast checker → · Palette generator →

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