#9271DB#9271DB

#9271DB is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.8% C 0.156 H 295.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9271DB
RGBrgb(146, 113, 219)
HSLhsl(259, 60%, 65%)
HSVhsv(259, 48%, 86%)
CMYKcmyk(33.3%, 48.4%, 0%, 14.1%)
CIE-LABlab(55.11, 35.97, -49.88)
CIE-LCHlch(55.11, 61.50, 305.79°)
OKLaboklab(62.77% 0.0684 -0.1406)
OKLCHoklch(62.77% 0.156 295.9)
XYZxyz(30.5422, 23.0353, 69.8412)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271DB #BADB71
analogous
#7185DB #9271DB #C771DB
triadic
#9271DB #DB9271 #71DB92
tetradic
#9271DB #DB7185 #BADB71 #71DBC7
square
#9271DB #DB7185 #BADB71 #71DBC7
split-complementary
#9271DB #DBC771 #85DB71
monochromatic
#512AA7 #6D40CF #9271DB #B7A2E7 #DDD3F4

Accessibility & contrast

On white

3.75
#9271DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9271DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271DB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271DB#FFFFFF#000000##000000
##9271DB1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85DF
Deuteranopia (green-blind)
#5383D8
Tritanopia (blue-blind)
#82859C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9271db;
/* rgb */ color: rgb(146, 113, 219);
/* oklch */ color: oklch(62.8% 0.156 295.9);
Tailwind
colors: {
  custom: {
    50: '#b59ae7',
    500: '#9271db',
    950: '#000000',
  },
}
SCSS
$custom: #9271db;
$custom-light: #b59ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9271db",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 258.679,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62769,
    "c": 0.15639,
    "h": 295.9
  },
  "luminance": 0.23036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9271DB

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

Preview Lab → · Contrast checker → · Palette generator →

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