#945BD9#945BD9

#945BD9 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.187 H 301.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#945BD9
RGBrgb(148, 91, 217)
HSLhsl(267, 62%, 60%)
HSVhsv(267, 58%, 85%)
CMYKcmyk(31.8%, 58.1%, 0%, 14.9%)
CIE-LABlab(50.44, 48.19, -56.20)
CIE-LCHlch(50.44, 74.04, 310.61°)
OKLaboklab(59.32% 0.0988 -0.1591)
OKLCHoklch(59.32% 0.187 301.8)
XYZxyz(28.4753, 18.7877, 67.7584)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BD9 #A0D95B
analogous
#5B61D9 #945BD9 #D35BD9
triadic
#945BD9 #D9945B #5BD994
tetradic
#945BD9 #D95B61 #A0D95B #5BD9D3
square
#945BD9 #D95B61 #A0D95B #5BD9D3
split-complementary
#945BD9 #D9D35B #61D95B
monochromatic
#572397 #742EC8 #945BD9 #B48DE5 #D5BEF0

Accessibility & contrast

On white

4.41
#945BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#945BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BD9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BD9#FFFFFF#000000##000000
##945BD91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#867591
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945bd9;
/* rgb */ color: rgb(148, 91, 217);
/* oklch */ color: oklch(59.3% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#b78ce5',
    500: '#945bd9',
    950: '#000000',
  },
}
SCSS
$custom: #945bd9;
$custom-light: #b78ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#945bd9",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 267.143,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.18724,
    "h": 301.8
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#945BD9
secondary
#CAE0B0
accent
#CA1B7B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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