#945BC9#945BC9

#945BC9 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.168 H 305.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#945BC9
RGBrgb(148, 91, 201)
HSLhsl(271, 50%, 57%)
HSVhsv(271, 55%, 79%)
CMYKcmyk(26.4%, 54.7%, 0%, 21.2%)
CIE-LABlab(49.49, 44.33, -48.58)
CIE-LCHlch(49.49, 65.77, 312.38°)
OKLaboklab(58.32% 0.0984 -0.1367)
OKLCHoklch(58.32% 0.168 305.7)
XYZxyz(26.4942, 17.9953, 57.3247)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BC9 #90C95B
analogous
#5D5BC9 #945BC9 #C95BC7
triadic
#945BC9 #C9945B #5BC994
tetradic
#945BC9 #C95D5B #90C95B #5BC7C9
square
#945BC9 #C95D5B #90C95B #5BC7C9
split-complementary
#945BC9 #C7C95B #5BC95D
monochromatic
#562A80 #7639AE #945BC9 #B289D8 #D0B7E7

Accessibility & contrast

On white

4.57
#945BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#945BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BC9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BC9#FFFFFF#000000##000000
##945BC91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CD
Deuteranopia (green-blind)
#4876C6
Tritanopia (blue-blind)
#8B6F89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945bc9;
/* rgb */ color: rgb(148, 91, 201);
/* oklch */ color: oklch(58.3% 0.168 305.7);
Tailwind
colors: {
  custom: {
    50: '#b68bda',
    500: '#945bc9',
    950: '#000000',
  },
}
SCSS
$custom: #945bc9;
$custom-light: #b68bda;
$custom-dark: #000000;
JSON
{
  "hex": "#945bc9",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 271.091,
    "s": 50.459,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.16848,
    "h": 305.7
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#945BC9
secondary
#BFD6AA
accent
#DA4E91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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