#945ADE#945ADE

#945ADE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.194 H 300.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#945ADE
RGBrgb(148, 90, 222)
HSLhsl(266, 67%, 61%)
HSVhsv(266, 59%, 87%)
CMYKcmyk(33.3%, 59.5%, 0%, 12.9%)
CIE-LABlab(50.55, 49.95, -58.86)
CIE-LCHlch(50.55, 77.20, 310.32°)
OKLaboklab(59.5% 0.0999 -0.1669)
OKLCHoklch(59.5% 0.194 300.9)
XYZxyz(29.0506, 18.8820, 71.2072)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945ADE #A4DE5A
analogous
#5A62DE #945ADE #D65ADE
triadic
#945ADE #DE945A #5ADE94
tetradic
#945ADE #DE5A62 #A4DE5A #5ADED6
square
#945ADE #DE5A62 #A4DE5A #5ADED6
split-complementary
#945ADE #DED65A #62DE5A
monochromatic
#57209E #732AD1 #945ADE #B58DE8 #D6C0F2

Accessibility & contrast

On white

4.40
#945ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#945ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945ADE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945ADE#FFFFFF#000000##000000
##945ADE1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A78E2
Deuteranopia (green-blind)
#3178DB
Tritanopia (blue-blind)
#857694
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945ade;
/* rgb */ color: rgb(148, 90, 222);
/* oklch */ color: oklch(59.5% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#b88be9',
    500: '#945ade',
    950: '#000000',
  },
}
SCSS
$custom: #945ade;
$custom-light: #b88be9;
$custom-dark: #000000;
JSON
{
  "hex": "#945ade",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 266.364,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.19449,
    "h": 300.9
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#945ADE
secondary
#CDE3B1
accent
#CF177E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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