#9271EE#9271EE

#9271EE is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.9% C 0.181 H 292.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9271EE
RGBrgb(146, 113, 238)
HSLhsl(256, 79%, 69%)
HSVhsv(256, 53%, 93%)
CMYKcmyk(38.7%, 52.5%, 0%, 6.7%)
CIE-LABlab(56.18, 40.96, -58.81)
CIE-LCHlch(56.18, 71.67, 304.85°)
OKLaboklab(63.92% 0.0699 -0.1668)
OKLCHoklch(63.92% 0.181 292.7)
XYZxyz(33.1877, 24.0935, 83.7743)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271EE #CDEE71
analogous
#718FEE #9271EE #D171EE
triadic
#9271EE #EE9271 #71EE92
tetradic
#9271EE #EE718F #CDEE71 #71EED1
square
#9271EE #EE718F #CDEE71 #71EED1
split-complementary
#9271EE #EED171 #8FEE71
monochromatic
#4818CC #683AE7 #9271EE #BCA8F5 #E6DEFB

Accessibility & contrast

On white

3.61
#9271EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9271EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271EE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271EE#FFFFFF#000000##000000
##9271EE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#7A8BA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9271ee;
/* rgb */ color: rgb(146, 113, 238);
/* oklch */ color: oklch(63.9% 0.181 292.7);
Tailwind
colors: {
  custom: {
    50: '#b79af4',
    500: '#9271ee',
    950: '#000000',
  },
}
SCSS
$custom: #9271ee;
$custom-light: #b79af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ee",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 255.84,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63915,
    "c": 0.18084,
    "h": 292.7
  },
  "luminance": 0.24094
}

Semantic roles & 50–950 ramp

primary
#9271EE
secondary
#E6F0CB
accent
#DB0BA4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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