#945ACE#945ACE

#945ACE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.176 H 304.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#945ACE
RGBrgb(148, 90, 206)
HSLhsl(270, 54%, 58%)
HSVhsv(270, 56%, 81%)
CMYKcmyk(28.2%, 56.3%, 0%, 19.2%)
CIE-LABlab(49.57, 46.06, -51.31)
CIE-LCHlch(49.57, 68.96, 311.91°)
OKLaboklab(58.48% 0.0999 -0.1447)
OKLCHoklch(58.48% 0.176 304.6)
XYZxyz(27.0071, 18.0646, 60.4446)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945ACE #94CE5A
analogous
#5A5ACE #945ACE #CE5ACE
triadic
#945ACE #CE945A #5ACE94
tetradic
#945ACE #CE5A5A #94CE5A #5ACECE
square
#945ACE #CE5A5A #94CE5A #5ACECE
split-complementary
#945ACE #CECE5A #5ACE5A
monochromatic
#572886 #7536B5 #945ACE #B389DC #D1B8EA

Accessibility & contrast

On white

4.55
#945ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#945ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945ACE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945ACE#FFFFFF#000000##000000
##945ACE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#8A708B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #945ace;
/* rgb */ color: rgb(148, 90, 206);
/* oklch */ color: oklch(58.5% 0.176 304.6);
Tailwind
colors: {
  custom: {
    50: '#b78bdd',
    500: '#945ace',
    950: '#000000',
  },
}
SCSS
$custom: #945ace;
$custom-light: #b78bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#945ace",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.17586,
    "h": 304.6
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#945ACE
secondary
#C2D9AB
accent
#DE4A94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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