#945CDB#945CDB

#945CDB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.188 H 301.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#945CDB
RGBrgb(148, 92, 219)
HSLhsl(266, 64%, 61%)
HSVhsv(266, 58%, 86%)
CMYKcmyk(32.4%, 58%, 0%, 14.1%)
CIE-LABlab(50.76, 48.15, -56.82)
CIE-LCHlch(50.76, 74.48, 310.28°)
OKLaboklab(59.6% 0.0975 -0.1609)
OKLCHoklch(59.6% 0.188 301.2)
XYZxyz(28.8231, 19.0645, 69.1654)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CDB #A3DB5C
analogous
#5C63DB #945CDB #D45CDB
triadic
#945CDB #DB945C #5CDB94
tetradic
#945CDB #DB5C63 #A3DB5C #5CDBD4
square
#945CDB #DB5C63 #A3DB5C #5CDBD4
split-complementary
#945CDB #DBD45C #63DB5C
monochromatic
#57229A #732DCD #945CDB #B58EE6 #D6C0F1

Accessibility & contrast

On white

4.36
#945CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#945CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CDB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CDB#FFFFFF#000000##000000
##945CDB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#867693
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945cdb;
/* rgb */ color: rgb(148, 92, 219);
/* oklch */ color: oklch(59.6% 0.188 301.2);
Tailwind
colors: {
  custom: {
    50: '#b78ce7',
    500: '#945cdb',
    950: '#000000',
  },
}
SCSS
$custom: #945cdb;
$custom-light: #b78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#945cdb",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 266.457,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.18814,
    "h": 301.2
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #945CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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