#945BDA#945BDA

#945BDA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.188 H 301.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#945BDA
RGBrgb(148, 91, 218)
HSLhsl(267, 63%, 61%)
HSVhsv(267, 58%, 85%)
CMYKcmyk(32.1%, 58.3%, 0%, 14.5%)
CIE-LABlab(50.50, 48.44, -56.67)
CIE-LCHlch(50.50, 74.55, 310.52°)
OKLaboklab(59.39% 0.0987 -0.1605)
OKLCHoklch(59.39% 0.188 301.6)
XYZxyz(28.6058, 18.8399, 68.4455)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BDA #A1DA5B
analogous
#5B61DA #945BDA #D35BDA
triadic
#945BDA #DA945B #5BDA94
tetradic
#945BDA #DA5B61 #A1DA5B #5BDAD3
square
#945BDA #DA5B61 #A1DA5B #5BDAD3
split-complementary
#945BDA #DAD35B #61DA5B
monochromatic
#572298 #742ECA #945BDA #B58DE5 #D5BFF1

Accessibility & contrast

On white

4.40
#945BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#945BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BDA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BDA#FFFFFF#000000##000000
##945BDA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DE
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#867592
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945bda;
/* rgb */ color: rgb(148, 91, 218);
/* oklch */ color: oklch(59.4% 0.188 301.6);
Tailwind
colors: {
  custom: {
    50: '#b78ce6',
    500: '#945bda',
    950: '#000000',
  },
}
SCSS
$custom: #945bda;
$custom-light: #b78ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#945bda",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 266.929,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59387,
    "c": 0.18841,
    "h": 301.6
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#945BDA
secondary
#CBE1B0
accent
#CB1B7C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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