#945EDE#945EDE

#945EDE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.189 H 300.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#945EDE
RGBrgb(148, 94, 222)
HSLhsl(265, 66%, 62%)
HSVhsv(265, 58%, 87%)
CMYKcmyk(33.3%, 57.7%, 0%, 12.9%)
CIE-LABlab(51.35, 47.82, -57.57)
CIE-LCHlch(51.35, 74.84, 309.72°)
OKLaboklab(60.09% 0.0951 -0.1631)
OKLCHoklch(60.09% 0.189 300.2)
XYZxyz(29.3971, 19.5750, 71.3227)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EDE #A8DE5E
analogous
#5E68DE #945EDE #D45EDE
triadic
#945EDE #DE945E #5EDE94
tetradic
#945EDE #DE5E68 #A8DE5E #5EDED4
square
#945EDE #DE5E68 #A8DE5E #5EDED4
split-complementary
#945EDE #DED45E #68DE5E
monochromatic
#5721A1 #722BD3 #945EDE #B691E8 #D8C4F3

Accessibility & contrast

On white

4.27
#945EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#945EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EDE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EDE#FFFFFF#000000##000000
##945EDE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7AE2
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#847895
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945ede;
/* rgb */ color: rgb(148, 94, 222);
/* oklch */ color: oklch(60.1% 0.189 300.2);
Tailwind
colors: {
  custom: {
    50: '#b88ee9',
    500: '#945ede',
    950: '#000000',
  },
}
SCSS
$custom: #945ede;
$custom-light: #b88ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#945ede",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 265.313,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.18879,
    "h": 300.2
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#945EDE
secondary
#D0E4B4
accent
#CE1881
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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