#945BDC#945BDC

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

Color values

HEX#945BDC
RGBrgb(148, 91, 220)
HSLhsl(267, 65%, 61%)
HSVhsv(267, 59%, 86%)
CMYKcmyk(32.7%, 58.6%, 0%, 13.7%)
CIE-LABlab(50.62, 48.93, -57.61)
CIE-LCHlch(50.62, 75.58, 310.34°)
OKLaboklab(59.52% 0.0987 -0.1632)
OKLCHoklch(59.52% 0.191 301.2)
XYZxyz(28.8690, 18.9452, 69.8321)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BDC #A3DC5B
analogous
#5B62DC #945BDC #D55BDC
triadic
#945BDC #DC945B #5BDC94
tetradic
#945BDC #DC5B62 #A3DC5B #5BDCD5
square
#945BDC #DC5B62 #A3DC5B #5BDCD5
split-complementary
#945BDC #DCD55B #62DC5B
monochromatic
#57219B #732CCE #945BDC #B58DE7 #D6C0F2

Accessibility & contrast

On white

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

On black

4.79
#945BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BDC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BDC#FFFFFF#000000##000000
##945BDC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#857693
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945bdc;
/* rgb */ color: rgb(148, 91, 220);
/* oklch */ color: oklch(59.5% 0.191 301.2);
Tailwind
colors: {
  custom: {
    50: '#b88ce8',
    500: '#945bdc',
    950: '#000000',
  },
}
SCSS
$custom: #945bdc;
$custom-light: #b88ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#945bdc",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 266.512,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.19074,
    "h": 301.2
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#945BDC
secondary
#CCE2B1
accent
#CD197D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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