#945792#945792

#945792 is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.8% C 0.114 H 328.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#945792
RGBrgb(148, 87, 146)
HSLhsl(302, 26%, 46%)
HSVhsv(302, 41%, 58%)
CMYKcmyk(0%, 41.2%, 1.4%, 42%)
CIE-LABlab(45.89, 34.58, -22.01)
CIE-LCHlch(45.89, 40.99, 327.53°)
OKLaboklab(54.75% 0.0965 -0.0599)
OKLCHoklch(54.75% 0.114 328.2)
XYZxyz(20.8089, 15.1886, 29.0242)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945792 #579459
analogous
#775794 #945792 #945773
triadic
#945792 #929457 #579294
tetradic
#945792 #947757 #579459 #577394
square
#945792 #947757 #579459 #577394
split-complementary
#945792 #739457 #579477
monochromatic
#472A46 #6D406C #945792 #B078AE #C79FC5

Accessibility & contrast

On white

5.20
#945792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#945792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945792
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945792#FFFFFF#000000##FFFFFF
##9457921.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536894
Deuteranopia (green-blind)
#637090
Tritanopia (blue-blind)
#985C6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #945792;
/* rgb */ color: rgb(148, 87, 146);
/* oklch */ color: oklch(54.8% 0.114 328.2);
Tailwind
colors: {
  custom: {
    50: '#b588b2',
    500: '#945792',
    950: '#000000',
  },
}
SCSS
$custom: #945792;
$custom-light: #b588b2;
$custom-dark: #000000;
JSON
{
  "hex": "#945792",
  "rgb": {
    "r": 148,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 301.967,
    "s": 25.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.11357,
    "h": 328.2
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#945792
secondary
#93B494
accent
#C26965
background
#FBF8FA
surface
#F6F0F5
border
#D0CBCF
text
#110B11
muted
#807C80

Preview Lab

Preview with #945792

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

Preview Lab → · Contrast checker → · Palette generator →

#945792 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva