#945BDD#945BDD

#945BDD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.192 H 301.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#945BDD
RGBrgb(148, 91, 221)
HSLhsl(266, 66%, 61%)
HSVhsv(266, 59%, 87%)
CMYKcmyk(33%, 58.8%, 0%, 13.3%)
CIE-LABlab(50.69, 49.18, -58.08)
CIE-LCHlch(50.69, 76.10, 310.26°)
OKLaboklab(59.58% 0.0987 -0.1646)
OKLCHoklch(59.58% 0.192 301)
XYZxyz(29.0019, 18.9984, 70.5317)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BDD #A4DD5B
analogous
#5B63DD #945BDD #D55BDD
triadic
#945BDD #DD945B #5BDD94
tetradic
#945BDD #DD5B63 #A4DD5B #5BDDD5
square
#945BDD #DD5B63 #A4DD5B #5BDDD5
split-complementary
#945BDD #DDD55B #63DD5B
monochromatic
#57219D #732BD0 #945BDD #B58EE8 #D6C0F2

Accessibility & contrast

On white

4.38
#945BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#945BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BDD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BDD#FFFFFF#000000##000000
##945BDD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1478E1
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#857693
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945bdd;
/* rgb */ color: rgb(148, 91, 221);
/* oklch */ color: oklch(59.6% 0.192 301.0);
Tailwind
colors: {
  custom: {
    50: '#b88ce8',
    500: '#945bdd',
    950: '#000000',
  },
}
SCSS
$custom: #945bdd;
$custom-light: #b88ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#945bdd",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 266.308,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.19191,
    "h": 301
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#945BDD
secondary
#CDE2B1
accent
#CE187E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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