#9151D7#9151D7

#9151D7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.198 H 302.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9151D7
RGBrgb(145, 81, 215)
HSLhsl(269, 63%, 58%)
HSVhsv(269, 62%, 84%)
CMYKcmyk(32.6%, 62.3%, 0%, 15.7%)
CIE-LABlab(48.02, 52.25, -58.97)
CIE-LCHlch(48.02, 78.79, 311.54°)
OKLaboklab(57.45% 0.1068 -0.1673)
OKLCHoklch(57.45% 0.198 302.6)
XYZxyz(26.8824, 16.8109, 66.1054)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151D7 #97D751
analogous
#5154D7 #9151D7 #D451D7
triadic
#9151D7 #D79151 #51D791
tetradic
#9151D7 #D75154 #97D751 #51D7D4
square
#9151D7 #D75154 #97D751 #51D7D4
split-complementary
#9151D7 #D7D451 #54D751
monochromatic
#54208D #722CBF #9151D7 #B083E2 #D0B5EE

Accessibility & contrast

On white

4.81
#9151D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9151D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151D7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151D7#FFFFFF#000000##FFFFFF
##9151D71.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2772D4
Tritanopia (blue-blind)
#836E8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9151d7;
/* rgb */ color: rgb(145, 81, 215);
/* oklch */ color: oklch(57.4% 0.198 302.6);
Tailwind
colors: {
  custom: {
    50: '#b685e4',
    500: '#9151d7',
    950: '#000000',
  },
}
SCSS
$custom: #9151d7;
$custom-light: #b685e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9151d7",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 268.657,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.19847,
    "h": 302.6
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#9151D7
secondary
#C3DDA7
accent
#E64298
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151D7

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

Preview Lab → · Contrast checker → · Palette generator →

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