#9051BA#9051BA

#9051BA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.165 H 309.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9051BA
RGBrgb(144, 81, 186)
HSLhsl(276, 43%, 52%)
HSVhsv(276, 56%, 73%)
CMYKcmyk(22.6%, 56.5%, 0%, 27.1%)
CIE-LABlab(46.12, 45.18, -45.30)
CIE-LCHlch(46.12, 63.98, 314.92°)
OKLaboklab(55.47% 0.1058 -0.1272)
OKLCHoklch(55.47% 0.165 309.8)
XYZxyz(23.3053, 15.3597, 48.1819)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051BA #7BBA51
analogous
#5C51BA #9051BA #BA51B0
triadic
#9051BA #BA9051 #51BA90
tetradic
#9051BA #BA5C51 #7BBA51 #51B0BA
square
#9051BA #BA5C51 #7BBA51 #51B0BA
split-complementary
#9051BA #B0BA51 #51BA5C
monochromatic
#4F2968 #703A93 #9051BA #AC7DCB #C8A9DD

Accessibility & contrast

On white

5.16
#9051BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9051BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051BA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051BA#FFFFFF#000000##FFFFFF
##9051BA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#8A647E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9051ba;
/* rgb */ color: rgb(144, 81, 186);
/* oklch */ color: oklch(55.5% 0.165 309.8);
Tailwind
colors: {
  custom: {
    50: '#b384cf',
    500: '#9051ba',
    950: '#000000',
  },
}
SCSS
$custom: #9051ba;
$custom-light: #b384cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9051ba",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 276,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.16547,
    "h": 309.8
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#9051BA
secondary
#AFCA9D
accent
#D35587
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9051BA

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

Preview Lab → · Contrast checker → · Palette generator →

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