#945F91#945F91

#945F91 is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.1% C 0.098 H 328.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#945F91
RGBrgb(148, 95, 145)
HSLhsl(303, 22%, 48%)
HSVhsv(303, 36%, 58%)
CMYKcmyk(0%, 35.8%, 2%, 42%)
CIE-LABlab(47.66, 29.87, -18.70)
CIE-LCHlch(47.66, 35.24, 327.96°)
OKLaboklab(56.07% 0.0835 -0.0507)
OKLCHoklch(56.07% 0.098 328.8)
XYZxyz(21.4154, 16.5256, 28.8443)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945F91 #5F9462
analogous
#7C5F94 #945F91 #945F77
triadic
#945F91 #91945F #5F9194
tetradic
#945F91 #947C5F #5F9462 #5F7794
square
#945F91 #947C5F #5F9462 #5F7794
split-complementary
#945F91 #77945F #5F947C
monochromatic
#492F48 #6F476C #945F91 #AF82AC #C6A7C5

Accessibility & contrast

On white

4.88
#945F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#945F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945F91
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945F91#FFFFFF#000000##FFFFFF
##945F911.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6D93
Deuteranopia (green-blind)
#6A748F
Tritanopia (blue-blind)
#986371
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #945f91;
/* rgb */ color: rgb(148, 95, 145);
/* oklch */ color: oklch(56.1% 0.098 328.8);
Tailwind
colors: {
  custom: {
    50: '#b48db1',
    500: '#945f91',
    950: '#000000',
  },
}
SCSS
$custom: #945f91;
$custom-light: #b48db1;
$custom-dark: #000000;
JSON
{
  "hex": "#945f91",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 303.396,
    "s": 21.811,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.09768,
    "h": 328.8
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#945F91
secondary
#9AB59C
accent
#BE6E69
background
#FBF8FA
surface
#F6F0F5
border
#D0CBCF
text
#110C10
muted
#807D7F

Preview Lab

Preview with #945F91

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

Preview Lab → · Contrast checker → · Palette generator →

#945F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva