#945697#945697

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

Color values

HEX#945697
RGBrgb(148, 86, 151)
HSLhsl(297, 27%, 46%)
HSVhsv(297, 43%, 59%)
CMYKcmyk(2%, 43%, 0%, 40.8%)
CIE-LABlab(45.89, 36.11, -25.00)
CIE-LCHlch(45.89, 43.92, 325.31°)
OKLaboklab(54.82% 0.0992 -0.0684)
OKLCHoklch(54.82% 0.12 325.4)
XYZxyz(21.1260, 15.1868, 31.0907)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945697 #599756
analogous
#745697 #945697 #97567A
triadic
#945697 #979456 #569794
tetradic
#945697 #977456 #599756 #567A97
square
#945697 #977456 #599756 #567A97
split-complementary
#945697 #7A9756 #569774
monochromatic
#482A49 #6E4070 #945697 #AF78B2 #C69FC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##945697#FFFFFF#000000##FFFFFF
##9456971.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)
#506899
Deuteranopia (green-blind)
#616F95
Tritanopia (blue-blind)
#975D6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #945697;
/* rgb */ color: rgb(148, 86, 151);
/* oklch */ color: oklch(54.8% 0.120 325.4);
Tailwind
colors: {
  custom: {
    50: '#b587b6',
    500: '#945697',
    950: '#000000',
  },
}
SCSS
$custom: #945697;
$custom-light: #b587b6;
$custom-dark: #000000;
JSON
{
  "hex": "#945697",
  "rgb": {
    "r": 148,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 297.231,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.12048,
    "h": 325.4
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#945697
secondary
#95B693
accent
#C46468
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #945697

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

Preview Lab → · Contrast checker → · Palette generator →

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