#945FBE#945FBE

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

Color values

HEX#945FBE
RGBrgb(148, 95, 190)
HSLhsl(273, 42%, 56%)
HSVhsv(273, 50%, 75%)
CMYKcmyk(22.1%, 50%, 0%, 25.5%)
CIE-LABlab(49.74, 39.55, -41.85)
CIE-LCHlch(49.74, 57.58, 313.38°)
OKLaboklab(58.31% 0.0922 -0.1171)
OKLCHoklch(58.31% 0.149 308.2)
XYZxyz(25.5974, 18.1983, 50.8694)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FBE #89BE5F
analogous
#645FBE #945FBE #BE5FB8
triadic
#945FBE #BE945F #5FBE94
tetradic
#945FBE #BE645F #89BE5F #5FB8BE
square
#945FBE #BE645F #89BE5F #5FB8BE
split-complementary
#945FBE #B8BE5F #5FBE64
monochromatic
#552F74 #75419F #945FBE #B18BD0 #CEB6E1

Accessibility & contrast

On white

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

On black

4.64
#945FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FBE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FBE#FFFFFF#000000##000000
##945FBE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#8E6F86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945fbe;
/* rgb */ color: rgb(148, 95, 190);
/* oklch */ color: oklch(58.3% 0.149 308.2);
Tailwind
colors: {
  custom: {
    50: '#b58ed2',
    500: '#945fbe',
    950: '#000000',
  },
}
SCSS
$custom: #945fbe;
$custom-light: #b58ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#945fbe",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 273.474,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.14902,
    "h": 308.2
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#945FBE
secondary
#BAD0A9
accent
#D2568D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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