#9151DE#9151DE

#9151DE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.206 H 301.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9151DE
RGBrgb(145, 81, 222)
HSLhsl(267, 68%, 59%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(34.7%, 63.5%, 0%, 12.9%)
CIE-LABlab(48.48, 53.95, -62.21)
CIE-LCHlch(48.48, 82.35, 310.94°)
OKLaboklab(57.93% 0.1063 -0.1768)
OKLCHoklch(57.93% 0.206 301)
XYZxyz(27.8011, 17.1784, 70.9442)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151DE #9EDE51
analogous
#5158DE #9151DE #D851DE
triadic
#9151DE #DE9151 #51DE91
tetradic
#9151DE #DE5158 #9EDE51 #51DED8
square
#9151DE #DE5158 #9EDE51 #51DED8
split-complementary
#9151DE #DED851 #58DE51
monochromatic
#551D98 #7127CB #9151DE #B284E8 #D2B8F2

Accessibility & contrast

On white

4.73
#9151DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9151DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151DE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151DE#FFFFFF#000000##FFFFFF
##9151DE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#1772DB
Tritanopia (blue-blind)
#817090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9151de;
/* rgb */ color: rgb(145, 81, 222);
/* oklch */ color: oklch(57.9% 0.206 301.0);
Tailwind
colors: {
  custom: {
    50: '#b685e9',
    500: '#9151de',
    950: '#000000',
  },
}
SCSS
$custom: #9151de;
$custom-light: #b685e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9151de",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 267.234,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.20629,
    "h": 301
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#9151DE
secondary
#C8E1AA
accent
#EB3D9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151DE

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

Preview Lab → · Contrast checker → · Palette generator →

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