#945CD8#945CD8

#945CD8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.185 H 301.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#945CD8
RGBrgb(148, 92, 216)
HSLhsl(267, 61%, 60%)
HSVhsv(267, 57%, 85%)
CMYKcmyk(31.5%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.58, 47.41, -55.41)
CIE-LCHlch(50.58, 72.93, 310.55°)
OKLaboklab(59.41% 0.0975 -0.1567)
OKLCHoklch(59.41% 0.185 301.9)
XYZxyz(28.4317, 18.9080, 67.1042)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CD8 #A0D85C
analogous
#5C62D8 #945CD8 #D25CD8
triadic
#945CD8 #D8945C #5CD894
tetradic
#945CD8 #D85C62 #A0D85C #5CD8D2
square
#945CD8 #D85C62 #A0D85C #5CD8D2
split-complementary
#945CD8 #D8D25C #62D85C
monochromatic
#572496 #7430C7 #945CD8 #B48DE4 #D5BFF0

Accessibility & contrast

On white

4.39
#945CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#945CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CD8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CD8#FFFFFF#000000##000000
##945CD81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2378DC
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#877591
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945cd8;
/* rgb */ color: rgb(148, 92, 216);
/* oklch */ color: oklch(59.4% 0.185 301.9);
Tailwind
colors: {
  custom: {
    50: '#b78ce5',
    500: '#945cd8',
    950: '#000000',
  },
}
SCSS
$custom: #945cd8;
$custom-light: #b78ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#945cd8",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 267.097,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.18461,
    "h": 301.9
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#945CD8
secondary
#CAE0B0
accent
#C91C7B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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