#9051BF#9051BF

#9051BF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.171 H 308.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9051BF
RGBrgb(144, 81, 191)
HSLhsl(274, 46%, 53%)
HSVhsv(274, 58%, 75%)
CMYKcmyk(24.6%, 57.6%, 0%, 25.1%)
CIE-LABlab(46.41, 46.33, -47.74)
CIE-LCHlch(46.41, 66.53, 314.14°)
OKLaboklab(55.77% 0.106 -0.1344)
OKLCHoklch(55.77% 0.171 308.3)
XYZxyz(23.8461, 15.5761, 51.0304)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051BF #80BF51
analogous
#5951BF #9051BF #BF51B7
triadic
#9051BF #BF9051 #51BF90
tetradic
#9051BF #BF5951 #80BF51 #51B7BF
square
#9051BF #BF5951 #80BF51 #51B7BF
split-complementary
#9051BF #B7BF51 #51BF59
monochromatic
#50286D #70399A #9051BF #AD7ECF #C9AAE0

Accessibility & contrast

On white

5.10
#9051BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9051BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051BF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051BF#FFFFFF#000000##FFFFFF
##9051BF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#896680
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9051bf;
/* rgb */ color: rgb(144, 81, 191);
/* oklch */ color: oklch(55.8% 0.171 308.3);
Tailwind
colors: {
  custom: {
    50: '#b385d3',
    500: '#9051bf',
    950: '#000000',
  },
}
SCSS
$custom: #9051bf;
$custom-light: #b385d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9051bf",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 274.364,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.17113,
    "h": 308.3
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#9051BF
secondary
#B2CE9E
accent
#D6528A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9051BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9051BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva