#945ADD#945ADD

#945ADD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.193 H 301.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#945ADD
RGBrgb(148, 90, 221)
HSLhsl(267, 66%, 61%)
HSVhsv(267, 59%, 87%)
CMYKcmyk(33%, 59.3%, 0%, 13.3%)
CIE-LABlab(50.49, 49.71, -58.40)
CIE-LCHlch(50.49, 76.69, 310.41°)
OKLaboklab(59.44% 0.0999 -0.1655)
OKLCHoklch(59.44% 0.193 301.1)
XYZxyz(28.9170, 18.8285, 70.5034)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945ADD #A3DD5A
analogous
#5A61DD #945ADD #D55ADD
triadic
#945ADD #DD945A #5ADD94
tetradic
#945ADD #DD5A61 #A3DD5A #5ADDD5
square
#945ADD #DD5A61 #A3DD5A #5ADDD5
split-complementary
#945ADD #DDD55A #61DD5A
monochromatic
#57209C #732BCF #945ADD #B58DE7 #D6BFF2

Accessibility & contrast

On white

4.41
#945ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#945ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945ADD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945ADD#FFFFFF#000000##000000
##945ADD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F77E1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#857593
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945add;
/* rgb */ color: rgb(148, 90, 221);
/* oklch */ color: oklch(59.4% 0.193 301.1);
Tailwind
colors: {
  custom: {
    50: '#b88be8',
    500: '#945add',
    950: '#000000',
  },
}
SCSS
$custom: #945add;
$custom-light: #b88be8;
$custom-dark: #000000;
JSON
{
  "hex": "#945add",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 266.565,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.19333,
    "h": 301.1
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#945ADD
secondary
#CCE2B1
accent
#CE187D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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