#9151DF#9151DF

#9151DF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.207 H 300.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9151DF
RGBrgb(145, 81, 223)
HSLhsl(267, 69%, 60%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(35%, 63.7%, 0%, 12.5%)
CIE-LABlab(48.55, 54.20, -62.67)
CIE-LCHlch(48.55, 82.85, 310.86°)
OKLaboklab(58% 0.1062 -0.1781)
OKLCHoklch(58% 0.207 300.8)
XYZxyz(27.9356, 17.2321, 71.6521)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151DF #9FDF51
analogous
#5158DF #9151DF #D851DF
triadic
#9151DF #DF9151 #51DF91
tetradic
#9151DF #DF5158 #9FDF51 #51DFD8
square
#9151DF #DF5158 #9FDF51 #51DFD8
split-complementary
#9151DF #DFD851 #58DF51
monochromatic
#551C99 #7126CD #9151DF #B285E9 #D2B8F2

Accessibility & contrast

On white

4.72
#9151DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9151DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151DF#FFFFFF#000000##FFFFFF
##9151DF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1372DC
Tritanopia (blue-blind)
#807091
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9151df;
/* rgb */ color: rgb(145, 81, 223);
/* oklch */ color: oklch(58.0% 0.207 300.8);
Tailwind
colors: {
  custom: {
    50: '#b685ea',
    500: '#9151df',
    950: '#000000',
  },
}
SCSS
$custom: #9151df;
$custom-light: #b685ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9151df",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 267.042,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.20741,
    "h": 300.8
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#9151DF
secondary
#C9E1AA
accent
#EC3C9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151DF

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

Preview Lab → · Contrast checker → · Palette generator →

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