#945EBE#945EBE

#945EBE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.151 H 308.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#945EBE
RGBrgb(148, 94, 190)
HSLhsl(274, 42%, 56%)
HSVhsv(274, 51%, 75%)
CMYKcmyk(22.1%, 50.5%, 0%, 25.5%)
CIE-LABlab(49.52, 40.10, -42.19)
CIE-LCHlch(49.52, 58.21, 313.54°)
OKLaboklab(58.15% 0.0935 -0.1181)
OKLCHoklch(58.15% 0.151 308.4)
XYZxyz(25.5079, 18.0193, 50.8395)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EBE #88BE5E
analogous
#645EBE #945EBE #BE5EB8
triadic
#945EBE #BE945E #5EBE94
tetradic
#945EBE #BE645E #88BE5E #5EB8BE
square
#945EBE #BE645E #88BE5E #5EB8BE
split-complementary
#945EBE #B8BE5E #5EBE64
monochromatic
#552E73 #75409F #945EBE #B18AD0 #CEB5E1

Accessibility & contrast

On white

4.56
#945EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#945EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EBE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EBE#FFFFFF#000000##000000
##945EBE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473C1
Deuteranopia (green-blind)
#5476BC
Tritanopia (blue-blind)
#8E6E85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945ebe;
/* rgb */ color: rgb(148, 94, 190);
/* oklch */ color: oklch(58.1% 0.151 308.4);
Tailwind
colors: {
  custom: {
    50: '#b68dd2',
    500: '#945ebe',
    950: '#000000',
  },
}
SCSS
$custom: #945ebe;
$custom-light: #b68dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#945ebe",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 273.75,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.15066,
    "h": 308.4
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#945EBE
secondary
#B9D0A8
accent
#D2568C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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