#945AE9#945AE9

#945AE9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.207 H 298.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#945AE9
RGBrgb(148, 90, 233)
HSLhsl(264, 76%, 63%)
HSVhsv(264, 61%, 91%)
CMYKcmyk(36.5%, 61.4%, 0%, 8.6%)
CIE-LABlab(51.26, 52.69, -63.93)
CIE-LCHlch(51.26, 82.84, 309.49°)
OKLaboklab(60.24% 0.0994 -0.1818)
OKLCHoklch(60.24% 0.207 298.7)
XYZxyz(30.5732, 19.4911, 79.2264)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AE9 #AFE95A
analogous
#5A67E9 #945AE9 #DC5AE9
triadic
#945AE9 #E9945A #5AE994
tetradic
#945AE9 #E95A67 #AFE95A #5AE9DC
square
#945AE9 #E95A67 #AFE95A #5AE9DC
split-complementary
#945AE9 #E9DC5A #67E95A
monochromatic
#5618B1 #7124E2 #945AE9 #B790F0 #DAC6F7

Accessibility & contrast

On white

4.29
#945AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#945AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AE9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AE9#FFFFFF#000000##000000
##945AE91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #945ae9;
/* rgb */ color: rgb(148, 90, 233);
/* oklch */ color: oklch(60.2% 0.207 298.7);
Tailwind
colors: {
  custom: {
    50: '#b98bf1',
    500: '#945ae9',
    950: '#000000',
  },
}
SCSS
$custom: #945ae9;
$custom-light: #b98bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#945ae9",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 264.336,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.20717,
    "h": 298.7
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#945AE9
secondary
#D4E9B6
accent
#D90D86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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