#945BDF#945BDF

#945BDF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.194 H 300.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#945BDF
RGBrgb(148, 91, 223)
HSLhsl(266, 67%, 62%)
HSVhsv(266, 59%, 87%)
CMYKcmyk(33.6%, 59.2%, 0%, 12.5%)
CIE-LABlab(50.81, 49.67, -59.01)
CIE-LCHlch(50.81, 77.13, 310.09°)
OKLaboklab(59.71% 0.0987 -0.1673)
OKLCHoklch(59.71% 0.194 300.5)
XYZxyz(29.2699, 19.1056, 71.9434)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BDF #A6DF5B
analogous
#5B64DF #945BDF #D65BDF
triadic
#945BDF #DF945B #5BDF94
tetradic
#945BDF #DF5B64 #A6DF5B #5BDFD6
square
#945BDF #DF5B64 #A6DF5B #5BDFD6
split-complementary
#945BDF #DFD65B #64DF5B
monochromatic
#571FA0 #7329D4 #945BDF #B58EE9 #D7C1F3

Accessibility & contrast

On white

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

On black

4.82
#945BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BDF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BDF#FFFFFF#000000##000000
##945BDF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D78E3
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#847794
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945bdf;
/* rgb */ color: rgb(148, 91, 223);
/* oklch */ color: oklch(59.7% 0.194 300.5);
Tailwind
colors: {
  custom: {
    50: '#b88cea',
    500: '#945bdf',
    950: '#000000',
  },
}
SCSS
$custom: #945bdf;
$custom-light: #b88cea;
$custom-dark: #000000;
JSON
{
  "hex": "#945bdf",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 265.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.19424,
    "h": 300.5
  },
  "luminance": 0.19106
}

Semantic roles & 50–950 ramp

primary
#945BDF
secondary
#CEE3B2
accent
#CF167F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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