#945EE4#945EE4

#945EE4 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.196 H 299.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#945EE4
RGBrgb(148, 94, 228)
HSLhsl(264, 71%, 63%)
HSVhsv(264, 59%, 89%)
CMYKcmyk(35.1%, 58.8%, 0%, 10.6%)
CIE-LABlab(51.73, 49.32, -60.36)
CIE-LCHlch(51.73, 77.94, 309.25°)
OKLaboklab(60.48% 0.095 -0.1713)
OKLCHoklch(60.48% 0.196 299)
XYZxyz(30.2156, 19.9024, 75.6334)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EE4 #AEE45E
analogous
#5E6BE4 #945EE4 #D75EE4
triadic
#945EE4 #E4945E #5EE494
tetradic
#945EE4 #E45E6B #AEE45E #5EE4D7
square
#945EE4 #E45E6B #AEE45E #5EE4D7
split-complementary
#945EE4 #E4D75E #6BE45E
monochromatic
#561DAB #712ADB #945EE4 #B792ED #DAC7F6

Accessibility & contrast

On white

4.22
#945EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#945EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EE4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EE4#FFFFFF#000000##000000
##945EE41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE8
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#827A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945ee4;
/* rgb */ color: rgb(148, 94, 228);
/* oklch */ color: oklch(60.5% 0.196 299.0);
Tailwind
colors: {
  custom: {
    50: '#b88eed',
    500: '#945ee4',
    950: '#000000',
  },
}
SCSS
$custom: #945ee4;
$custom-light: #b88eed;
$custom-dark: #000000;
JSON
{
  "hex": "#945ee4",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 264.179,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.19586,
    "h": 299
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#945EE4
secondary
#D4E7B7
accent
#D31285
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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