#945DCF#945DCF

#945DCF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.172 H 303.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#945DCF
RGBrgb(148, 93, 207)
HSLhsl(269, 54%, 59%)
HSVhsv(269, 55%, 81%)
CMYKcmyk(28.5%, 55.1%, 0%, 18.8%)
CIE-LABlab(50.25, 44.68, -50.80)
CIE-LCHlch(50.25, 67.66, 311.33°)
OKLaboklab(58.99% 0.0961 -0.1432)
OKLCHoklch(58.99% 0.172 303.9)
XYZxyz(27.3871, 18.6297, 61.1725)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DCF #98CF5D
analogous
#5D5FCF #945DCF #CD5DCF
triadic
#945DCF #CF945D #5DCF94
tetradic
#945DCF #CF5D5F #98CF5D #5DCFCD
square
#945DCF #CF5D5F #98CF5D #5DCFCD
split-complementary
#945DCF #CFCD5D #5FCF5D
monochromatic
#572989 #7537B8 #945DCF #B38CDD #D2BBEB

Accessibility & contrast

On white

4.44
#945DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#945DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DCF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DCF#FFFFFF#000000##000000
##945DCF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#89738D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945dcf;
/* rgb */ color: rgb(148, 93, 207);
/* oklch */ color: oklch(59.0% 0.172 303.9);
Tailwind
colors: {
  custom: {
    50: '#b78dde',
    500: '#945dcf',
    950: '#000000',
  },
}
SCSS
$custom: #945dcf;
$custom-light: #b78dde;
$custom-dark: #000000;
JSON
{
  "hex": "#945dcf",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 268.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.17249,
    "h": 303.9
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#945DCF
secondary
#C5DAAD
accent
#DE4A96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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