#945BC8#945BC8

#945BC8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.167 H 306.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#945BC8
RGBrgb(148, 91, 200)
HSLhsl(271, 50%, 57%)
HSVhsv(271, 55%, 78%)
CMYKcmyk(26%, 54.5%, 0%, 21.6%)
CIE-LABlab(49.43, 44.10, -48.10)
CIE-LCHlch(49.43, 65.25, 312.52°)
OKLaboklab(58.26% 0.0984 -0.1353)
OKLCHoklch(58.26% 0.167 306)
XYZxyz(26.3770, 17.9484, 56.7072)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BC8 #8FC85B
analogous
#5E5BC8 #945BC8 #C85BC6
triadic
#945BC8 #C8945B #5BC894
tetradic
#945BC8 #C85E5B #8FC85B #5BC6C8
square
#945BC8 #C85E5B #8FC85B #5BC6C8
split-complementary
#945BC8 #C6C85B #5BC85E
monochromatic
#562A7E #763AAC #945BC8 #B289D7 #D0B7E7

Accessibility & contrast

On white

4.58
#945BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#945BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BC8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BC8#FFFFFF#000000##000000
##945BC81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#8C6F89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #945bc8;
/* rgb */ color: rgb(148, 91, 200);
/* oklch */ color: oklch(58.3% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#b68bd9',
    500: '#945bc8',
    950: '#000000',
  },
}
SCSS
$custom: #945bc8;
$custom-light: #b68bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#945bc8",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 271.376,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.1673,
    "h": 306
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#945BC8
secondary
#BED6A9
accent
#D94F91
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #945BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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