#9131DB#9131DB

#9131DB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.1% C 0.240 H 305.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9131DB
RGBrgb(145, 49, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 78%, 86%)
CMYKcmyk(33.8%, 77.6%, 0%, 14.1%)
CIE-LABlab(43.26, 67.31, -68.98)
CIE-LCHlch(43.26, 96.38, 314.30°)
OKLaboklab(54.14% 0.1376 -0.1965)
OKLCHoklch(54.14% 0.24 305)
XYZxyz(25.5586, 13.3310, 68.2308)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131DB #7BDB31
analogous
#3C31DB #9131DB #DB31D0
triadic
#9131DB #DB9131 #31DB91
tetradic
#9131DB #DB3C31 #7BDB31 #31D0DB
square
#9131DB #DB3C31 #7BDB31 #31D0DB
split-complementary
#9131DB #D0DB31 #31DB3C
monochromatic
#4F167C #711FB0 #9131DB #AD65E4 #C999ED

Accessibility & contrast

On white

5.73
#9131DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9131DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131DB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131DB#FFFFFF#000000##FFFFFF
##9131DB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#835E86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9131db;
/* rgb */ color: rgb(145, 49, 219);
/* oklch */ color: oklch(54.1% 0.240 305.0);
Tailwind
colors: {
  custom: {
    50: '#b874e7',
    500: '#9131db',
    950: '#000000',
  },
}
SCSS
$custom: #9131db;
$custom-light: #b874e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9131db",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 219
  },
  "hsl": {
    "h": 273.882,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.23994,
    "h": 305
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#9131DB
secondary
#AFD98F
accent
#ED3B88
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9131DB

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

Preview Lab → · Contrast checker → · Palette generator →

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