#945DE8#945DE8

#945DE8 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.202 H 298.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#945DE8
RGBrgb(148, 93, 232)
HSLhsl(264, 75%, 64%)
HSVhsv(264, 60%, 91%)
CMYKcmyk(36.2%, 59.9%, 0%, 9%)
CIE-LABlab(51.78, 50.86, -62.52)
CIE-LCHlch(51.78, 80.59, 309.13°)
OKLaboklab(60.61% 0.096 -0.1776)
OKLCHoklch(60.61% 0.202 298.4)
XYZxyz(30.6889, 19.9504, 78.5623)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DE8 #B1E85D
analogous
#5D6BE8 #945DE8 #D95DE8
triadic
#945DE8 #E8945D #5DE894
tetradic
#945DE8 #E85D6B #B1E85D #5DE8D9
square
#945DE8 #E85D6B #B1E85D #5DE8D9
split-complementary
#945DE8 #E8D95D #6BE85D
monochromatic
#5519B1 #7127E0 #945DE8 #B793F0 #DBC8F7

Accessibility & contrast

On white

4.21
#945DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#945DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DE8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DE8#FFFFFF#000000##000000
##945DE81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#817B9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945de8;
/* rgb */ color: rgb(148, 93, 232);
/* oklch */ color: oklch(60.6% 0.202 298.4);
Tailwind
colors: {
  custom: {
    50: '#b88df0',
    500: '#945de8',
    950: '#000000',
  },
}
SCSS
$custom: #945de8;
$custom-light: #b88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#945de8",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 263.741,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.20194,
    "h": 298.4
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#945DE8
secondary
#D6E9B8
accent
#D70E88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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