#945AE4#945AE4

#945AE4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.201 H 299.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#945AE4
RGBrgb(148, 90, 228)
HSLhsl(265, 72%, 62%)
HSVhsv(265, 61%, 89%)
CMYKcmyk(35.1%, 60.5%, 0%, 10.6%)
CIE-LABlab(50.93, 51.44, -61.64)
CIE-LCHlch(50.93, 80.28, 309.85°)
OKLaboklab(59.9% 0.0997 -0.175)
OKLCHoklch(59.9% 0.201 299.7)
XYZxyz(29.8691, 19.2094, 75.5179)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AE4 #AAE45A
analogous
#5A65E4 #945AE4 #D95AE4
triadic
#945AE4 #E4945A #5AE494
tetradic
#945AE4 #E45A65 #AAE45A #5AE4D9
square
#945AE4 #E45A65 #AAE45A #5AE4D9
split-complementary
#945AE4 #E4D95A #65E45A
monochromatic
#571CA8 #7225DB #945AE4 #B68FED #D8C3F5

Accessibility & contrast

On white

4.34
#945AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#945AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AE4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AE4#FFFFFF#000000##000000
##945AE41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#837897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945ae4;
/* rgb */ color: rgb(148, 90, 228);
/* oklch */ color: oklch(59.9% 0.201 299.7);
Tailwind
colors: {
  custom: {
    50: '#b88bed',
    500: '#945ae4',
    950: '#000000',
  },
}
SCSS
$custom: #945ae4;
$custom-light: #b88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#945ae4",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 265.217,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59904,
    "c": 0.20142,
    "h": 299.7
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#945AE4
secondary
#D1E6B4
accent
#D41282
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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