#945895#945895

#945895 is a mid, moderate purple. Relative luminance 0.154; OKLCH L 55.1% C 0.115 H 326.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#945895
RGBrgb(148, 88, 149)
HSLhsl(299, 26%, 46%)
HSVhsv(299, 41%, 58%)
CMYKcmyk(0.7%, 40.9%, 0%, 41.6%)
CIE-LABlab(46.24, 34.61, -23.26)
CIE-LCHlch(46.24, 41.70, 326.09°)
OKLaboklab(55.06% 0.0956 -0.0635)
OKLCHoklch(55.06% 0.115 326.4)
XYZxyz(21.1268, 15.4462, 30.2965)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945895 #599558
analogous
#765895 #945895 #955878
triadic
#945895 #959458 #589594
tetradic
#945895 #957658 #599558 #587895
square
#945895 #957658 #599558 #587895
split-complementary
#945895 #789558 #589576
monochromatic
#482B48 #6E416F #945895 #AF7AB0 #C6A0C7

Accessibility & contrast

On white

5.14
#945895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#945895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945895
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945895#FFFFFF#000000##FFFFFF
##9458951.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536997
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#975E6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #945895;
/* rgb */ color: rgb(148, 88, 149);
/* oklch */ color: oklch(55.1% 0.115 326.4);
Tailwind
colors: {
  custom: {
    50: '#b589b4',
    500: '#945895',
    950: '#000000',
  },
}
SCSS
$custom: #945895;
$custom-light: #b589b4;
$custom-dark: #000000;
JSON
{
  "hex": "#945895",
  "rgb": {
    "r": 148,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 299.016,
    "s": 25.738,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.11478,
    "h": 326.4
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#945895
secondary
#95B594
accent
#C26667
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #945895

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

Preview Lab → · Contrast checker → · Palette generator →

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