#945DED#945DED

#945DED is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.208 H 297.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#945DED
RGBrgb(148, 93, 237)
HSLhsl(263, 80%, 65%)
HSVhsv(263, 61%, 93%)
CMYKcmyk(37.6%, 60.8%, 0%, 7.1%)
CIE-LABlab(52.11, 52.12, -64.80)
CIE-LCHlch(52.11, 83.16, 308.81°)
OKLaboklab(60.95% 0.0958 -0.1844)
OKLCHoklch(60.95% 0.208 297.5)
XYZxyz(31.4093, 20.2385, 82.3560)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DED #B6ED5D
analogous
#5D6EED #945DED #DC5DED
triadic
#945DED #ED945D #5DED94
tetradic
#945DED #ED5D6E #B6ED5D #5DEDDC
square
#945DED #ED5D6E #B6ED5D #5DEDDC
split-complementary
#945DED #EDDC5D #6EED5D
monochromatic
#5415BB #7026E7 #945DED #B894F3 #DDCBF9

Accessibility & contrast

On white

4.16
#945DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#945DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DED#FFFFFF#000000##000000
##945DED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#197BEA
Tritanopia (blue-blind)
#7F7D9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945ded;
/* rgb */ color: rgb(148, 93, 237);
/* oklch */ color: oklch(60.9% 0.208 297.5);
Tailwind
colors: {
  custom: {
    50: '#b98df4',
    500: '#945ded',
    950: '#000000',
  },
}
SCSS
$custom: #945ded;
$custom-light: #b98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#945ded",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 262.917,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.20776,
    "h": 297.5
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#945DED
secondary
#D9ECBA
accent
#DC098C
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DED

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

Preview Lab → · Contrast checker → · Palette generator →

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