#945CE8#945CE8

#945CE8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.203 H 298.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#945CE8
RGBrgb(148, 92, 232)
HSLhsl(264, 75%, 64%)
HSVhsv(264, 60%, 91%)
CMYKcmyk(36.2%, 60.3%, 0%, 9%)
CIE-LABlab(51.58, 51.39, -62.84)
CIE-LCHlch(51.58, 81.17, 309.28°)
OKLaboklab(60.46% 0.0972 -0.1786)
OKLCHoklch(60.46% 0.203 298.6)
XYZxyz(30.6017, 19.7760, 78.5332)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CE8 #B0E85C
analogous
#5C6AE8 #945CE8 #DA5CE8
triadic
#945CE8 #E8945C #5CE894
tetradic
#945CE8 #E85C6A #B0E85C #5CE8DA
square
#945CE8 #E85C6A #B0E85C #5CE8DA
split-complementary
#945CE8 #E8DA5C #6AE85C
monochromatic
#5619B1 #7126E0 #945CE8 #B792F0 #DAC7F7

Accessibility & contrast

On white

4.24
#945CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#945CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CE8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CE8#FFFFFF#000000##000000
##945CE81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#237AE5
Tritanopia (blue-blind)
#817A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945ce8;
/* rgb */ color: rgb(148, 92, 232);
/* oklch */ color: oklch(60.5% 0.203 298.6);
Tailwind
colors: {
  custom: {
    50: '#b88df0',
    500: '#945ce8',
    950: '#000000',
  },
}
SCSS
$custom: #945ce8;
$custom-light: #b88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#945ce8",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 264,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.20331,
    "h": 298.6
  },
  "luminance": 0.19776
}

Semantic roles & 50–950 ramp

primary
#945CE8
secondary
#D5E9B7
accent
#D70E87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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