#945AE8#945AE8

#945AE8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.206 H 298.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#945AE8
RGBrgb(148, 90, 232)
HSLhsl(265, 76%, 63%)
HSVhsv(265, 61%, 91%)
CMYKcmyk(36.2%, 61.2%, 0%, 9%)
CIE-LABlab(51.19, 52.44, -63.47)
CIE-LCHlch(51.19, 82.33, 309.56°)
OKLaboklab(60.18% 0.0995 -0.1804)
OKLCHoklch(60.18% 0.206 298.9)
XYZxyz(30.4308, 19.4341, 78.4762)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AE8 #AEE85A
analogous
#5A67E8 #945AE8 #DB5AE8
triadic
#945AE8 #E8945A #5AE894
tetradic
#945AE8 #E85A67 #AEE85A #5AE8DB
square
#945AE8 #E85A67 #AEE85A #5AE8DB
split-complementary
#945AE8 #E8DB5A #67E85A
monochromatic
#5618AF #7124E1 #945AE8 #B790EF #DAC5F7

Accessibility & contrast

On white

4.30
#945AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#945AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AE8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AE8#FFFFFF#000000##000000
##945AE81.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#1E79E5
Tritanopia (blue-blind)
#817999
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945ae8;
/* rgb */ color: rgb(148, 90, 232);
/* oklch */ color: oklch(60.2% 0.206 298.9);
Tailwind
colors: {
  custom: {
    50: '#b98bf0',
    500: '#945ae8',
    950: '#000000',
  },
}
SCSS
$custom: #945ae8;
$custom-light: #b98bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#945ae8",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 264.507,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60175,
    "c": 0.20603,
    "h": 298.9
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#945AE8
secondary
#D4E8B5
accent
#D80E85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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