#945CDA#945CDA

#945CDA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.187 H 301.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#945CDA
RGBrgb(148, 92, 218)
HSLhsl(267, 63%, 61%)
HSVhsv(267, 58%, 85%)
CMYKcmyk(32.1%, 57.8%, 0%, 14.5%)
CIE-LABlab(50.70, 47.91, -56.35)
CIE-LCHlch(50.70, 73.96, 310.37°)
OKLaboklab(59.54% 0.0975 -0.1595)
OKLCHoklch(59.54% 0.187 301.4)
XYZxyz(28.6918, 19.0120, 68.4742)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CDA #A2DA5C
analogous
#5C63DA #945CDA #D35CDA
triadic
#945CDA #DA945C #5CDA94
tetradic
#945CDA #DA5C63 #A2DA5C #5CDAD3
square
#945CDA #DA5C63 #A2DA5C #5CDAD3
split-complementary
#945CDA #DAD35C #63DA5C
monochromatic
#572399 #742ECB #945CDA #B58EE5 #D5C0F1

Accessibility & contrast

On white

4.37
#945CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#945CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CDA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CDA#FFFFFF#000000##000000
##945CDA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2078DE
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#867692
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945cda;
/* rgb */ color: rgb(148, 92, 218);
/* oklch */ color: oklch(59.5% 0.187 301.4);
Tailwind
colors: {
  custom: {
    50: '#b78ce6',
    500: '#945cda',
    950: '#000000',
  },
}
SCSS
$custom: #945cda;
$custom-light: #b78ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#945cda",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 266.667,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.18696,
    "h": 301.4
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#945CDA
secondary
#CCE1B1
accent
#CB1B7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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