#945CBF#945CBF

#945CBF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.155 H 308.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#945CBF
RGBrgb(148, 92, 191)
HSLhsl(274, 44%, 55%)
HSVhsv(274, 52%, 75%)
CMYKcmyk(22.5%, 51.8%, 0%, 25.1%)
CIE-LABlab(49.15, 41.44, -43.37)
CIE-LCHlch(49.15, 59.98, 313.70°)
OKLaboklab(57.89% 0.0964 -0.1215)
OKLCHoklch(57.89% 0.155 308.4)
XYZxyz(25.4420, 17.7121, 51.3586)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CBF #87BF5C
analogous
#625CBF #945CBF #BF5CB9
triadic
#945CBF #BF945C #5CBF94
tetradic
#945CBF #BF625C #87BF5C #5CB9BF
square
#945CBF #BF625C #87BF5C #5CB9BF
split-complementary
#945CBF #B9BF5C #5CBF62
monochromatic
#552D73 #753F9F #945CBF #B188D0 #CEB4E2

Accessibility & contrast

On white

4.62
#945CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#945CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #945CBF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CBF#FFFFFF#000000##FFFFFF
##945CBF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#5176BC
Tritanopia (blue-blind)
#8E6D85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #945cbf;
/* rgb */ color: rgb(148, 92, 191);
/* oklch */ color: oklch(57.9% 0.155 308.4);
Tailwind
colors: {
  custom: {
    50: '#b68cd3',
    500: '#945cbf',
    950: '#000000',
  },
}
SCSS
$custom: #945cbf;
$custom-light: #b68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#945cbf",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 273.939,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.15511,
    "h": 308.4
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#945CBF
secondary
#B9D0A7
accent
#D3548C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #945CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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