#9042BB#9042BB

#9042BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.189 H 311.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9042BB
RGBrgb(144, 66, 187)
HSLhsl(279, 48%, 50%)
HSVhsv(279, 65%, 73%)
CMYKcmyk(23%, 64.7%, 0%, 26.7%)
CIE-LABlab(43.38, 52.98, -50.27)
CIE-LCHlch(43.38, 73.03, 316.50°)
OKLaboklab(53.49% 0.1246 -0.1417)
OKLCHoklch(53.49% 0.189 311.3)
XYZxyz(22.4178, 13.4141, 48.4123)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9042BB #6DBB42
analogous
#5442BB #9042BB #BB42A9
triadic
#9042BB #BB9042 #42BB90
tetradic
#9042BB #BB5442 #6DBB42 #42A9BB
square
#9042BB #BB5442 #6DBB42 #42A9BB
split-complementary
#9042BB #A9BB42 #42BB54
monochromatic
#4A2261 #6D328E #9042BB #AB6ECC #C59CDC

Accessibility & contrast

On white

5.70
#9042BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9042BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9042BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9042BB#FFFFFF#000000##FFFFFF
##9042BB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#8B5A79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9042bb;
/* rgb */ color: rgb(144, 66, 187);
/* oklch */ color: oklch(53.5% 0.189 311.3);
Tailwind
colors: {
  custom: {
    50: '#b47bd0',
    500: '#9042bb',
    950: '#000000',
  },
}
SCSS
$custom: #9042bb;
$custom-light: #b47bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9042bb",
  "rgb": {
    "r": 144,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 278.678,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.18867,
    "h": 311.3
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#9042BB
secondary
#A4C891
accent
#D75080
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9042BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9042BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva