#945BCE#945BCE

#945BCE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.174 H 304.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#945BCE
RGBrgb(148, 91, 206)
HSLhsl(270, 54%, 58%)
HSVhsv(270, 56%, 81%)
CMYKcmyk(28.2%, 55.8%, 0%, 19.2%)
CIE-LABlab(49.78, 45.53, -50.99)
CIE-LCHlch(49.78, 68.35, 311.76°)
OKLaboklab(58.63% 0.0986 -0.1438)
OKLCHoklch(58.63% 0.174 304.4)
XYZxyz(27.0920, 18.2344, 60.4729)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BCE #95CE5B
analogous
#5B5BCE #945BCE #CD5BCE
triadic
#945BCE #CE945B #5BCE94
tetradic
#945BCE #CE5B5B #95CE5B #5BCECD
square
#945BCE #CE5B5B #95CE5B #5BCECD
split-complementary
#945BCE #CECD5B #5BCE5B
monochromatic
#572886 #7536B6 #945BCE #B38ADC #D1B9EA

Accessibility & contrast

On white

4.52
#945BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#945BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BCE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BCE#FFFFFF#000000##000000
##945BCE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#8A718C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945bce;
/* rgb */ color: rgb(148, 91, 206);
/* oklch */ color: oklch(58.6% 0.174 304.4);
Tailwind
colors: {
  custom: {
    50: '#b78bdd',
    500: '#945bce',
    950: '#000000',
  },
}
SCSS
$custom: #945bce;
$custom-light: #b78bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#945bce",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 269.739,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.17435,
    "h": 304.4
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#945BCE
secondary
#C3D9AB
accent
#DD4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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