#945BDE#945BDE

#945BDE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.193 H 300.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#945BDE
RGBrgb(148, 91, 222)
HSLhsl(266, 66%, 61%)
HSVhsv(266, 59%, 87%)
CMYKcmyk(33.3%, 59%, 0%, 12.9%)
CIE-LABlab(50.75, 49.42, -58.54)
CIE-LCHlch(50.75, 76.62, 310.17°)
OKLaboklab(59.65% 0.0987 -0.1659)
OKLCHoklch(59.65% 0.193 300.7)
XYZxyz(29.1355, 19.0518, 71.2355)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BDE #A5DE5B
analogous
#5B64DE #945BDE #D65BDE
triadic
#945BDE #DE945B #5BDE94
tetradic
#945BDE #DE5B64 #A5DE5B #5BDED6
square
#945BDE #DE5B64 #A5DE5B #5BDED6
split-complementary
#945BDE #DED65B #64DE5B
monochromatic
#57209F #732AD2 #945BDE #B58EE8 #D6C1F3

Accessibility & contrast

On white

4.37
#945BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#945BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BDE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BDE#FFFFFF#000000##000000
##945BDE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E2
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#857694
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945bde;
/* rgb */ color: rgb(148, 91, 222);
/* oklch */ color: oklch(59.6% 0.193 300.7);
Tailwind
colors: {
  custom: {
    50: '#b88ce9',
    500: '#945bde',
    950: '#000000',
  },
}
SCSS
$custom: #945bde;
$custom-light: #b88ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#945bde",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 266.107,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.19307,
    "h": 300.7
  },
  "luminance": 0.19052
}

Semantic roles & 50–950 ramp

primary
#945BDE
secondary
#CEE3B2
accent
#CE177F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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