#9151E6#9151E6

#9151E6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.215 H 299.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9151E6
RGBrgb(145, 81, 230)
HSLhsl(266, 75%, 61%)
HSVhsv(266, 65%, 90%)
CMYKcmyk(37%, 64.8%, 0%, 9.8%)
CIE-LABlab(49.03, 55.92, -65.86)
CIE-LCHlch(49.03, 86.39, 310.34°)
OKLaboklab(58.49% 0.1056 -0.1875)
OKLCHoklch(58.49% 0.215 299.4)
XYZxyz(28.8989, 17.6175, 76.7255)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151E6 #A6E651
analogous
#515BE6 #9151E6 #DB51E6
triadic
#9151E6 #E69151 #51E691
tetradic
#9151E6 #E6515B #A6E651 #51E6DB
square
#9151E6 #E6515B #A6E651 #51E6DB
split-complementary
#9151E6 #E6DB51 #5BE651
monochromatic
#5418A5 #701FDA #9151E6 #B387EE #D5BCF5

Accessibility & contrast

On white

4.64
#9151E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9151E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9151E6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151E6#FFFFFF#000000##FFFFFF
##9151E61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#7E7395
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9151e6;
/* rgb */ color: rgb(145, 81, 230);
/* oklch */ color: oklch(58.5% 0.215 299.4);
Tailwind
colors: {
  custom: {
    50: '#b786ef',
    500: '#9151e6',
    950: '#000000',
  },
}
SCSS
$custom: #9151e6;
$custom-light: #b786ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9151e6",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 265.772,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.2152,
    "h": 299.4
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#9151E6
secondary
#CDE5AD
accent
#D70E81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9151E6

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

Preview Lab → · Contrast checker → · Palette generator →

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