#9151E3#9151E3

#9151E3 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.212 H 300.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9151E3
RGBrgb(145, 81, 227)
HSLhsl(266, 72%, 60%)
HSVhsv(266, 64%, 89%)
CMYKcmyk(36.1%, 64.3%, 0%, 11%)
CIE-LABlab(48.82, 55.18, -64.49)
CIE-LCHlch(48.82, 84.88, 310.55°)
OKLaboklab(58.28% 0.1059 -0.1835)
OKLCHoklch(58.28% 0.212 300)
XYZxyz(28.4812, 17.4504, 74.5259)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151E3 #A3E351
analogous
#515AE3 #9151E3 #DA51E3
triadic
#9151E3 #E39151 #51E391
tetradic
#9151E3 #E3515A #A3E351 #51E3DA
square
#9151E3 #E3515A #A3E351 #51E3DA
split-complementary
#9151E3 #E3DA51 #5AE351
monochromatic
#551AA0 #7022D5 #9151E3 #B286EB #D4BAF4

Accessibility & contrast

On white

4.68
#9151E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9151E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151E3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151E3#FFFFFF#000000##FFFFFF
##9151E31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#7F7293
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9151e3;
/* rgb */ color: rgb(145, 81, 227);
/* oklch */ color: oklch(58.3% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#b785ed',
    500: '#9151e3',
    950: '#000000',
  },
}
SCSS
$custom: #9151e3;
$custom-light: #b785ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9151e3",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 266.301,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.21186,
    "h": 300
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#9151E3
secondary
#CBE4AC
accent
#D4117F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151E3

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

Preview Lab → · Contrast checker → · Palette generator →

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