#9271EF#9271EF

#9271EF is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.182 H 292.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9271EF
RGBrgb(146, 113, 239)
HSLhsl(256, 80%, 69%)
HSVhsv(256, 53%, 94%)
CMYKcmyk(38.9%, 52.7%, 0%, 6.3%)
CIE-LABlab(56.24, 41.23, -59.28)
CIE-LCHlch(56.24, 72.20, 304.82°)
OKLaboklab(63.98% 0.0699 -0.1682)
OKLCHoklch(63.98% 0.182 292.6)
XYZxyz(33.3350, 24.1524, 84.5502)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271EF #CEEF71
analogous
#718FEF #9271EF #D171EF
triadic
#9271EF #EF9271 #71EF92
tetradic
#9271EF #EF718F #CEEF71 #71EFD1
square
#9271EF #EF718F #CEEF71 #71EFD1
split-complementary
#9271EF #EFD171 #8FEF71
monochromatic
#4717CE #683AE9 #9271EF #BCA8F5 #E6DFFB

Accessibility & contrast

On white

3.60
#9271EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9271EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271EF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271EF#FFFFFF#000000##000000
##9271EF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#7A8BA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9271ef;
/* rgb */ color: rgb(146, 113, 239);
/* oklch */ color: oklch(64.0% 0.182 292.6);
Tailwind
colors: {
  custom: {
    50: '#b79af5',
    500: '#9271ef',
    950: '#000000',
  },
}
SCSS
$custom: #9271ef;
$custom-light: #b79af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ef",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 255.714,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63978,
    "c": 0.18212,
    "h": 292.6
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#9271EF
secondary
#E7F0CB
accent
#DC09A5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9271EF

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

Preview Lab → · Contrast checker → · Palette generator →

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