#945CC2#945CC2

#945CC2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.159 H 307.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#945CC2
RGBrgb(148, 92, 194)
HSLhsl(273, 46%, 56%)
HSVhsv(273, 53%, 76%)
CMYKcmyk(23.7%, 52.6%, 0%, 23.9%)
CIE-LABlab(49.31, 42.14, -44.84)
CIE-LCHlch(49.31, 61.53, 313.22°)
OKLaboklab(58.06% 0.0967 -0.1258)
OKLCHoklch(58.06% 0.159 307.5)
XYZxyz(25.7755, 17.8455, 53.1151)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CC2 #8AC25C
analogous
#615CC2 #945CC2 #C25CBD
triadic
#945CC2 #C2945C #5CC294
tetradic
#945CC2 #C2615C #8AC25C #5CBDC2
square
#945CC2 #C2615C #8AC25C #5CBDC2
split-complementary
#945CC2 #BDC25C #5CC261
monochromatic
#552D77 #753DA4 #945CC2 #B189D3 #CEB5E3

Accessibility & contrast

On white

4.60
#945CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#945CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #945CC2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CC2#FFFFFF#000000##FFFFFF
##945CC21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#8D6E86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #945cc2;
/* rgb */ color: rgb(148, 92, 194);
/* oklch */ color: oklch(58.1% 0.159 307.5);
Tailwind
colors: {
  custom: {
    50: '#b68cd5',
    500: '#945cc2',
    950: '#000000',
  },
}
SCSS
$custom: #945cc2;
$custom-light: #b68cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#945cc2",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 272.941,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.15865,
    "h": 307.5
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#945CC2
secondary
#BBD2A8
accent
#D5538D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #945CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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