#945FCE#945FCE

#945FCE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.168 H 303.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#945FCE
RGBrgb(148, 95, 206)
HSLhsl(269, 53%, 59%)
HSVhsv(269, 54%, 81%)
CMYKcmyk(28.2%, 53.9%, 0%, 19.2%)
CIE-LABlab(50.61, 43.35, -49.65)
CIE-LCHlch(50.61, 65.91, 311.12°)
OKLaboklab(59.24% 0.0934 -0.1399)
OKLCHoklch(59.24% 0.168 303.7)
XYZxyz(27.4431, 18.9366, 60.5899)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FCE #99CE5F
analogous
#5F62CE #945FCE #CC5FCE
triadic
#945FCE #CE945F #5FCE94
tetradic
#945FCE #CE5F62 #99CE5F #5FCECC
square
#945FCE #CE5F62 #99CE5F #5FCECC
split-complementary
#945FCE #CECC5F #62CE5F
monochromatic
#572A89 #7538B8 #945FCE #B38EDC #D3BDEB

Accessibility & contrast

On white

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

On black

4.79
#945FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FCE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FCE#FFFFFF#000000##000000
##945FCE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#8A748D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945fce;
/* rgb */ color: rgb(148, 95, 206);
/* oklch */ color: oklch(59.2% 0.168 303.7);
Tailwind
colors: {
  custom: {
    50: '#b68edd',
    500: '#945fce',
    950: '#000000',
  },
}
SCSS
$custom: #945fce;
$custom-light: #b68edd;
$custom-dark: #000000;
JSON
{
  "hex": "#945fce",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 268.649,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59242,
    "c": 0.16823,
    "h": 303.7
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#945FCE
secondary
#C5DAAF
accent
#DD4B97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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