#945CD0#945CD0

#945CD0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.175 H 303.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#945CD0
RGBrgb(148, 92, 208)
HSLhsl(269, 55%, 59%)
HSVhsv(269, 56%, 82%)
CMYKcmyk(28.8%, 55.8%, 0%, 18.4%)
CIE-LABlab(50.10, 45.47, -51.61)
CIE-LCHlch(50.10, 68.78, 311.38°)
OKLaboklab(58.9% 0.0974 -0.1456)
OKLCHoklch(58.9% 0.175 303.8)
XYZxyz(27.4225, 18.5043, 61.7893)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CD0 #98D05C
analogous
#5C5ED0 #945CD0 #CE5CD0
triadic
#945CD0 #D0945C #5CD094
tetradic
#945CD0 #D05C5E #98D05C #5CD0CE
square
#945CD0 #D05C5E #98D05C #5CD0CE
split-complementary
#945CD0 #D0CE5C #5ED05C
monochromatic
#57288A #7535B9 #945CD0 #B38CDE #D2BBEB

Accessibility & contrast

On white

4.47
#945CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#945CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CD0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CD0#FFFFFF#000000##000000
##945CD01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D4
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#89728D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945cd0;
/* rgb */ color: rgb(148, 92, 208);
/* oklch */ color: oklch(58.9% 0.175 303.8);
Tailwind
colors: {
  custom: {
    50: '#b78cdf',
    500: '#945cd0',
    950: '#000000',
  },
}
SCSS
$custom: #945cd0;
$custom-light: #b78cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#945cd0",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 268.966,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.17519,
    "h": 303.8
  },
  "luminance": 0.18504
}

Semantic roles & 50–950 ramp

primary
#945CD0
secondary
#C5DBAD
accent
#DF4996
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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