#945DEA#945DEA

#945DEA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.204 H 298.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#945DEA
RGBrgb(148, 93, 234)
HSLhsl(263, 77%, 64%)
HSVhsv(263, 60%, 92%)
CMYKcmyk(36.8%, 60.3%, 0%, 8.2%)
CIE-LABlab(51.91, 51.36, -63.43)
CIE-LCHlch(51.91, 81.62, 309.00°)
OKLaboklab(60.74% 0.0959 -0.1803)
OKLCHoklch(60.74% 0.204 298)
XYZxyz(30.9746, 20.0647, 80.0669)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DEA #B3EA5D
analogous
#5D6DEA #945DEA #DA5DEA
triadic
#945DEA #EA945D #5DEA94
tetradic
#945DEA #EA5D6D #B3EA5D #5DEADA
square
#945DEA #EA5D6D #B3EA5D #5DEADA
split-complementary
#945DEA #EADA5D #6DEA5D
monochromatic
#5517B5 #7027E3 #945DEA #B893F1 #DCC9F8

Accessibility & contrast

On white

4.19
#945DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#945DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DEA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DEA#FFFFFF#000000##000000
##945DEA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#807C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945dea;
/* rgb */ color: rgb(148, 93, 234);
/* oklch */ color: oklch(60.7% 0.204 298.0);
Tailwind
colors: {
  custom: {
    50: '#b98df1',
    500: '#945dea',
    950: '#000000',
  },
}
SCSS
$custom: #945dea;
$custom-light: #b98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#945dea",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 263.404,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.20427,
    "h": 298
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#945DEA
secondary
#D7EAB9
accent
#D90C89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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