#945BDB#945BDB

#945BDB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.190 H 301.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#945BDB
RGBrgb(148, 91, 219)
HSLhsl(267, 64%, 61%)
HSVhsv(267, 58%, 86%)
CMYKcmyk(32.4%, 58.4%, 0%, 14.1%)
CIE-LABlab(50.56, 48.69, -57.14)
CIE-LCHlch(50.56, 75.07, 310.43°)
OKLaboklab(59.45% 0.0987 -0.1618)
OKLCHoklch(59.45% 0.19 301.4)
XYZxyz(28.7370, 18.8924, 69.1367)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BDB #A2DB5B
analogous
#5B62DB #945BDB #D45BDB
triadic
#945BDB #DB945B #5BDB94
tetradic
#945BDB #DB5B62 #A2DB5B #5BDBD4
square
#945BDB #DB5B62 #A2DB5B #5BDBD4
split-complementary
#945BDB #DBD45B #62DB5B
monochromatic
#57229A #742DCC #945BDB #B58DE6 #D5BFF1

Accessibility & contrast

On white

4.39
#945BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#945BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BDB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BDB#FFFFFF#000000##000000
##945BDB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#3678D8
Tritanopia (blue-blind)
#867592
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945bdb;
/* rgb */ color: rgb(148, 91, 219);
/* oklch */ color: oklch(59.5% 0.190 301.4);
Tailwind
colors: {
  custom: {
    50: '#b78ce7',
    500: '#945bdb',
    950: '#000000',
  },
}
SCSS
$custom: #945bdb;
$custom-light: #b78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#945bdb",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 266.719,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.18958,
    "h": 301.4
  },
  "luminance": 0.18893
}

Semantic roles & 50–950 ramp

primary
#945BDB
secondary
#CCE1B1
accent
#CC1A7C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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