#945CCF#945CCF

#945CCF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.174 H 304.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#945CCF
RGBrgb(148, 92, 207)
HSLhsl(269, 55%, 59%)
HSVhsv(269, 56%, 81%)
CMYKcmyk(28.5%, 55.6%, 0%, 18.8%)
CIE-LABlab(50.04, 45.23, -51.13)
CIE-LCHlch(50.04, 68.26, 311.49°)
OKLaboklab(58.84% 0.0974 -0.1442)
OKLCHoklch(58.84% 0.174 304)
XYZxyz(27.2999, 18.4553, 61.1434)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CCF #97CF5C
analogous
#5C5DCF #945CCF #CD5CCF
triadic
#945CCF #CF945C #5CCF94
tetradic
#945CCF #CF5C5D #97CF5C #5CCFCD
square
#945CCF #CF5C5D #97CF5C #5CCFCD
split-complementary
#945CCF #CFCD5C #5DCF5C
monochromatic
#572888 #7536B8 #945CCF #B38BDD #D2BBEB

Accessibility & contrast

On white

4.48
#945CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#945CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CCF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CCF#FFFFFF#000000##000000
##945CCF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#89728D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945ccf;
/* rgb */ color: rgb(148, 92, 207);
/* oklch */ color: oklch(58.8% 0.174 304.0);
Tailwind
colors: {
  custom: {
    50: '#b78cde',
    500: '#945ccf',
    950: '#000000',
  },
}
SCSS
$custom: #945ccf;
$custom-light: #b78cde;
$custom-dark: #000000;
JSON
{
  "hex": "#945ccf",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 269.217,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.17401,
    "h": 304
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #945CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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