#9151DC#9151DC

#9151DC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.204 H 301.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9151DC
RGBrgb(145, 81, 220)
HSLhsl(268, 67%, 59%)
HSVhsv(268, 63%, 86%)
CMYKcmyk(34.1%, 63.2%, 0%, 13.7%)
CIE-LABlab(48.35, 53.47, -61.29)
CIE-LCHlch(48.35, 81.33, 311.10°)
OKLaboklab(57.79% 0.1065 -0.1741)
OKLCHoklch(57.79% 0.204 301.4)
XYZxyz(27.5347, 17.0718, 69.5408)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151DC #9CDC51
analogous
#5157DC #9151DC #D751DC
triadic
#9151DC #DC9151 #51DC91
tetradic
#9151DC #DC5157 #9CDC51 #51DCD7
square
#9151DC #DC5157 #9CDC51 #51DCD7
split-complementary
#9151DC #DCD751 #57DC51
monochromatic
#551E95 #7228C8 #9151DC #B184E6 #D1B7F0

Accessibility & contrast

On white

4.76
#9151DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9151DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151DC#FFFFFF#000000##FFFFFF
##9151DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#816F8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9151dc;
/* rgb */ color: rgb(145, 81, 220);
/* oklch */ color: oklch(57.8% 0.204 301.4);
Tailwind
colors: {
  custom: {
    50: '#b685e8',
    500: '#9151dc',
    950: '#000000',
  },
}
SCSS
$custom: #9151dc;
$custom-light: #b685e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9151dc",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 267.626,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.20407,
    "h": 301.4
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#9151DC
secondary
#C7E0A9
accent
#E93E9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151DC

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

Preview Lab → · Contrast checker → · Palette generator →

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