#945BBD#945BBD

#945BBD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.154 H 309.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#945BBD
RGBrgb(148, 91, 189)
HSLhsl(275, 43%, 55%)
HSVhsv(275, 52%, 74%)
CMYKcmyk(21.7%, 51.9%, 0%, 25.9%)
CIE-LABlab(48.83, 41.53, -42.72)
CIE-LCHlch(48.83, 59.57, 314.19°)
OKLaboklab(57.62% 0.0976 -0.1196)
OKLCHoklch(57.62% 0.154 309.2)
XYZxyz(25.1374, 17.4526, 50.1787)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BBD #84BD5B
analogous
#635BBD #945BBD #BD5BB5
triadic
#945BBD #BD945B #5BBD94
tetradic
#945BBD #BD635B #84BD5B #5BB5BD
square
#945BBD #BD635B #84BD5B #5BB5BD
split-complementary
#945BBD #B5BD5B #5BBD63
monochromatic
#542D70 #753F9C #945BBD #B087CF #CDB2E0

Accessibility & contrast

On white

4.68
#945BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#945BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #945BBD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BBD#FFFFFF#000000##FFFFFF
##945BBD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071C0
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#8F6C83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #945bbd;
/* rgb */ color: rgb(148, 91, 189);
/* oklch */ color: oklch(57.6% 0.154 309.2);
Tailwind
colors: {
  custom: {
    50: '#b68bd1',
    500: '#945bbd',
    950: '#000000',
  },
}
SCSS
$custom: #945bbd;
$custom-light: #b68bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#945bbd",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 274.898,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.15438,
    "h": 309.2
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#945BBD
secondary
#B7CFA5
accent
#D2558A
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #945BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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