#9151DB#9151DB

#9151DB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.203 H 301.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9151DB
RGBrgb(145, 81, 219)
HSLhsl(268, 66%, 59%)
HSVhsv(268, 63%, 86%)
CMYKcmyk(33.8%, 63%, 0%, 14.1%)
CIE-LABlab(48.28, 53.22, -60.83)
CIE-LCHlch(48.28, 80.82, 311.19°)
OKLaboklab(57.72% 0.1065 -0.1727)
OKLCHoklch(57.72% 0.203 301.7)
XYZxyz(27.4026, 17.0190, 68.8454)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151DB #9BDB51
analogous
#5156DB #9151DB #D651DB
triadic
#9151DB #DB9151 #51DB91
tetradic
#9151DB #DB5156 #9BDB51 #51DBD6
square
#9151DB #DB5156 #9BDB51 #51DBD6
split-complementary
#9151DB #DBD651 #56DB51
monochromatic
#551E93 #7229C6 #9151DB #B184E5 #D1B6F0

Accessibility & contrast

On white

4.77
#9151DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9151DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151DB#FFFFFF#000000##FFFFFF
##9151DB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#826F8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9151db;
/* rgb */ color: rgb(145, 81, 219);
/* oklch */ color: oklch(57.7% 0.203 301.7);
Tailwind
colors: {
  custom: {
    50: '#b685e7',
    500: '#9151db',
    950: '#000000',
  },
}
SCSS
$custom: #9151db;
$custom-light: #b685e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9151db",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 267.826,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.20294,
    "h": 301.7
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#9151DB
secondary
#C6DFA9
accent
#E93F9A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151DB

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

Preview Lab → · Contrast checker → · Palette generator →

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