#945AE0#945AE0

#945AE0 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.197 H 300.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#945AE0
RGBrgb(148, 90, 224)
HSLhsl(266, 68%, 62%)
HSVhsv(266, 60%, 88%)
CMYKcmyk(33.9%, 59.8%, 0%, 12.2%)
CIE-LABlab(50.68, 50.45, -59.79)
CIE-LCHlch(50.68, 78.23, 310.16°)
OKLaboklab(59.64% 0.0998 -0.1696)
OKLCHoklch(59.64% 0.197 300.5)
XYZxyz(29.3202, 18.9899, 72.6273)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AE0 #A6E05A
analogous
#5A63E0 #945AE0 #D75AE0
triadic
#945AE0 #E0945A #5AE094
tetradic
#945AE0 #E05A63 #A6E05A #5AE0D7
square
#945AE0 #E05A63 #A6E05A #5AE0D7
split-complementary
#945AE0 #E0D75A #63E05A
monochromatic
#571EA1 #7328D5 #945AE0 #B58EEA #D7C1F3

Accessibility & contrast

On white

4.38
#945AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#945AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AE0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AE0#FFFFFF#000000##000000
##945AE01.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E4
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#847695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945ae0;
/* rgb */ color: rgb(148, 90, 224);
/* oklch */ color: oklch(59.6% 0.197 300.5);
Tailwind
colors: {
  custom: {
    50: '#b88bea',
    500: '#945ae0',
    950: '#000000',
  },
}
SCSS
$custom: #945ae0;
$custom-light: #b88bea;
$custom-dark: #000000;
JSON
{
  "hex": "#945ae0",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 265.97,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59636,
    "c": 0.1968,
    "h": 300.5
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#945AE0
secondary
#CEE4B2
accent
#D0157F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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