#945FBD#945FBD

#945FBD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.148 H 308.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#945FBD
RGBrgb(148, 95, 189)
HSLhsl(274, 42%, 56%)
HSVhsv(274, 50%, 74%)
CMYKcmyk(21.7%, 49.7%, 0%, 25.9%)
CIE-LABlab(49.68, 39.31, -41.36)
CIE-LCHlch(49.68, 57.06, 313.55°)
OKLaboklab(58.25% 0.0921 -0.1157)
OKLCHoklch(58.25% 0.148 308.5)
XYZxyz(25.4885, 18.1548, 50.2957)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FBD #88BD5F
analogous
#655FBD #945FBD #BD5FB7
triadic
#945FBD #BD945F #5FBD94
tetradic
#945FBD #BD655F #88BD5F #5FB7BD
square
#945FBD #BD655F #88BD5F #5FB7BD
split-complementary
#945FBD #B7BD5F #5FBD65
monochromatic
#552F72 #75419E #945FBD #B18ACF #CEB6E1

Accessibility & contrast

On white

4.53
#945FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#945FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FBD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FBD#FFFFFF#000000##000000
##945FBD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#8E6F85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945fbd;
/* rgb */ color: rgb(148, 95, 189);
/* oklch */ color: oklch(58.3% 0.148 308.5);
Tailwind
colors: {
  custom: {
    50: '#b58ed1',
    500: '#945fbd',
    950: '#000000',
  },
}
SCSS
$custom: #945fbd;
$custom-light: #b58ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#945fbd",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 273.83,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.14783,
    "h": 308.5
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#945FBD
secondary
#B9CFA8
accent
#D1568C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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