#9271DC#9271DC

#9271DC is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.158 H 295.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9271DC
RGBrgb(146, 113, 220)
HSLhsl(259, 60%, 65%)
HSVhsv(259, 49%, 86%)
CMYKcmyk(33.6%, 48.6%, 0%, 13.7%)
CIE-LABlab(55.16, 36.23, -50.36)
CIE-LCHlch(55.16, 62.04, 305.73°)
OKLaboklab(62.83% 0.0685 -0.142)
OKLCHoklch(62.83% 0.158 295.7)
XYZxyz(30.6742, 23.0881, 70.5366)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271DC #BBDC71
analogous
#7185DC #9271DC #C871DC
triadic
#9271DC #DC9271 #71DC92
tetradic
#9271DC #DC7185 #BBDC71 #71DCC8
square
#9271DC #DC7185 #BBDC71 #71DCC8
split-complementary
#9271DC #DCC871 #85DC71
monochromatic
#512AA9 #6C40D0 #9271DC #B8A2E8 #DDD3F4

Accessibility & contrast

On white

3.74
#9271DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9271DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271DC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271DC#FFFFFF#000000##000000
##9271DC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#5283D9
Tritanopia (blue-blind)
#81869C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9271dc;
/* rgb */ color: rgb(146, 113, 220);
/* oklch */ color: oklch(62.8% 0.158 295.7);
Tailwind
colors: {
  custom: {
    50: '#b59ae7',
    500: '#9271dc',
    950: '#000000',
  },
}
SCSS
$custom: #9271dc;
$custom-light: #b59ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9271dc",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 258.505,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62827,
    "c": 0.15769,
    "h": 295.7
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#9271DC
secondary
#DBE6C2
accent
#C81D93
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9271DC

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

Preview Lab → · Contrast checker → · Palette generator →

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