#945AEE#945AEE

#945AEE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.213 H 297.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#945AEE
RGBrgb(148, 90, 238)
HSLhsl(264, 81%, 64%)
HSVhsv(264, 62%, 93%)
CMYKcmyk(37.8%, 62.2%, 0%, 6.7%)
CIE-LABlab(51.59, 53.94, -66.20)
CIE-LCHlch(51.59, 85.39, 309.18°)
OKLaboklab(60.59% 0.0991 -0.1884)
OKLCHoklch(60.59% 0.213 297.7)
XYZxyz(31.2976, 19.7808, 83.0415)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AEE #B4EE5A
analogous
#5A6AEE #945AEE #DE5AEE
triadic
#945AEE #EE945A #5AEE94
tetradic
#945AEE #EE5A6A #B4EE5A #5AEEDE
square
#945AEE #EE5A6A #B4EE5A #5AEEDE
split-complementary
#945AEE #EEDE5A #6AEE5A
monochromatic
#5513BA #7023E8 #945AEE #B891F4 #DCC9F9

Accessibility & contrast

On white

4.24
#945AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#945AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AEE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AEE#FFFFFF#000000##000000
##945AEE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0679EB
Tritanopia (blue-blind)
#7F7B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945aee;
/* rgb */ color: rgb(148, 90, 238);
/* oklch */ color: oklch(60.6% 0.213 297.7);
Tailwind
colors: {
  custom: {
    50: '#b98bf4',
    500: '#945aee',
    950: '#000000',
  },
}
SCSS
$custom: #945aee;
$custom-light: #b98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#945aee",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 263.514,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.21291,
    "h": 297.7
  },
  "luminance": 0.19781
}

Semantic roles & 50–950 ramp

primary
#945AEE
secondary
#D7ECB8
accent
#DE088A
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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