#945DFD#945DFD

#945DFD is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.226 H 294.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#945DFD
RGBrgb(148, 93, 253)
HSLhsl(261, 98%, 68%)
HSVhsv(261, 63%, 99%)
CMYKcmyk(41.5%, 63.2%, 0%, 0.8%)
CIE-LABlab(53.18, 56.21, -71.97)
CIE-LCHlch(53.18, 91.32, 307.99°)
OKLaboklab(62.07% 0.0946 -0.2054)
OKLCHoklch(62.07% 0.226 294.7)
XYZxyz(33.8520, 21.2156, 95.2209)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DFD #C6FD5D
analogous
#5D76FD #945DFD #E45DFD
triadic
#945DFD #FD945D #5DFD94
tetradic
#945DFD #FD5D76 #C6FD5D #5DFDE4
square
#945DFD #FD5D76 #C6FD5D #5DFDE4
split-complementary
#945DFD #FDE45D #76FD5D
monochromatic
#4E03DD #6C21FC #945DFD #BC99FE #E4D6FE

Accessibility & contrast

On white

4.01
#945DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#945DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DFD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DFD#FFFFFF#000000##000000
##945DFD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007CFA
Tritanopia (blue-blind)
#7882A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #945dfd;
/* rgb */ color: rgb(148, 93, 253);
/* oklch */ color: oklch(62.1% 0.226 294.7);
Tailwind
colors: {
  custom: {
    50: '#ba8eff',
    500: '#945dfd',
    950: '#000000',
  },
}
SCSS
$custom: #945dfd;
$custom-light: #ba8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#945dfd",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 260.625,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62069,
    "c": 0.22619,
    "h": 294.7
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#945DFD
secondary
#E3F4C2
accent
#E60097
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #945DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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