#9474BB#9474BB

#9474BB is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.8% C 0.110 H 304.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9474BB
RGBrgb(148, 116, 187)
HSLhsl(267, 34%, 59%)
HSVhsv(267, 38%, 73%)
CMYKcmyk(20.9%, 38%, 0%, 26.7%)
CIE-LABlab(54.42, 26.86, -32.76)
CIE-LCHlch(54.42, 42.36, 309.35°)
OKLaboklab(61.78% 0.0615 -0.0908)
OKLCHoklch(61.78% 0.11 304.1)
XYZxyz(27.4259, 22.3746, 49.8780)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474BB #9BBB74
analogous
#7478BB #9474BB #B874BB
triadic
#9474BB #BB9474 #74BB94
tetradic
#9474BB #BB7478 #9BBB74 #74BBB8
square
#9474BB #BB7478 #9BBB74 #74BBB8
split-complementary
#9474BB #BBB874 #78BB74
monochromatic
#573B79 #754FA2 #9474BB #B49DCF #D3C6E3

Accessibility & contrast

On white

3.84
#9474BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9474BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474BB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474BB#FFFFFF#000000##000000
##9474BB1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#8E7F8F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9474bb;
/* rgb */ color: rgb(148, 116, 187);
/* oklch */ color: oklch(61.8% 0.110 304.1);
Tailwind
colors: {
  custom: {
    50: '#b49ccf',
    500: '#9474bb',
    950: '#000000',
  },
}
SCSS
$custom: #9474bb;
$custom-light: #b49ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#9474bb",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 267.042,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.10972,
    "h": 304.1
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#9474BB
secondary
#C7D3B8
accent
#CA5D99
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9474BB

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

Preview Lab → · Contrast checker → · Palette generator →

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