#945DE6#945DE6

#945DE6 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.5% C 0.200 H 298.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#945DE6
RGBrgb(148, 93, 230)
HSLhsl(264, 73%, 63%)
HSVhsv(264, 60%, 90%)
CMYKcmyk(35.7%, 59.6%, 0%, 9.8%)
CIE-LABlab(51.65, 50.36, -61.60)
CIE-LCHlch(51.65, 79.56, 309.26°)
OKLaboklab(60.47% 0.0961 -0.1749)
OKLCHoklch(60.47% 0.2 298.8)
XYZxyz(30.4065, 19.8374, 77.0746)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DE6 #AFE65D
analogous
#5D6AE6 #945DE6 #D95DE6
triadic
#945DE6 #E6945D #5DE694
tetradic
#945DE6 #E65D6A #AFE65D #5DE6D9
square
#945DE6 #E65D6A #AFE65D #5DE6D9
split-complementary
#945DE6 #E6D95D #6AE65D
monochromatic
#561BAE #7128DE #945DE6 #B792EE #DAC7F6

Accessibility & contrast

On white

4.23
#945DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#945DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DE6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DE6#FFFFFF#000000##000000
##945DE61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#827A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945de6;
/* rgb */ color: rgb(148, 93, 230);
/* oklch */ color: oklch(60.5% 0.200 298.8);
Tailwind
colors: {
  custom: {
    50: '#b88def',
    500: '#945de6',
    950: '#000000',
  },
}
SCSS
$custom: #945de6;
$custom-light: #b88def;
$custom-dark: #000000;
JSON
{
  "hex": "#945de6",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 264.088,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.1996,
    "h": 298.8
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#945DE6
secondary
#D4E8B7
accent
#D51086
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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