#945CE4#945CE4

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

Color values

HEX#945CE4
RGBrgb(148, 92, 228)
HSLhsl(265, 72%, 63%)
HSVhsv(265, 60%, 89%)
CMYKcmyk(35.1%, 59.6%, 0%, 10.6%)
CIE-LABlab(51.33, 50.39, -61.00)
CIE-LCHlch(51.33, 79.12, 309.56°)
OKLaboklab(60.19% 0.0973 -0.1732)
OKLCHoklch(60.19% 0.199 299.3)
XYZxyz(30.0400, 19.5513, 75.5749)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CE4 #ACE45C
analogous
#5C68E4 #945CE4 #D85CE4
triadic
#945CE4 #E4945C #5CE494
tetradic
#945CE4 #E45C68 #ACE45C #5CE4D8
square
#945CE4 #E45C68 #ACE45C #5CE4D8
split-complementary
#945CE4 #E4D85C #68E45C
monochromatic
#561CAA #7227DB #945CE4 #B691ED #D9C5F5

Accessibility & contrast

On white

4.28
#945CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#945CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CE4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CE4#FFFFFF#000000##000000
##945CE41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#827997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945ce4;
/* rgb */ color: rgb(148, 92, 228);
/* oklch */ color: oklch(60.2% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#b88ced',
    500: '#945ce4',
    950: '#000000',
  },
}
SCSS
$custom: #945ce4;
$custom-light: #b88ced;
$custom-dark: #000000;
JSON
{
  "hex": "#945ce4",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 264.706,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.19866,
    "h": 299.3
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#945CE4
secondary
#D2E7B5
accent
#D41284
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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