#945EDD#945EDD

#945EDD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.188 H 300.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#945EDD
RGBrgb(148, 94, 221)
HSLhsl(266, 65%, 62%)
HSVhsv(266, 57%, 87%)
CMYKcmyk(33%, 57.5%, 0%, 13.3%)
CIE-LABlab(51.29, 47.57, -57.10)
CIE-LCHlch(51.29, 74.32, 309.80°)
OKLaboklab(60.03% 0.0951 -0.1617)
OKLCHoklch(60.03% 0.188 300.5)
XYZxyz(29.2635, 19.5216, 70.6189)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EDD #A7DD5E
analogous
#5E68DD #945EDD #D45EDD
triadic
#945EDD #DD945E #5EDD94
tetradic
#945EDD #DD5E68 #A7DD5E #5EDDD4
square
#945EDD #DD5E68 #A7DD5E #5EDDD4
split-complementary
#945EDD #DDD45E #68DD5E
monochromatic
#57229F #732CD2 #945EDD #B691E8 #D7C3F2

Accessibility & contrast

On white

4.28
#945EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#945EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EDD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EDD#FFFFFF#000000##000000
##945EDD1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#207AE1
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#857895
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945edd;
/* rgb */ color: rgb(148, 94, 221);
/* oklch */ color: oklch(60.0% 0.188 300.5);
Tailwind
colors: {
  custom: {
    50: '#b78ee8',
    500: '#945edd',
    950: '#000000',
  },
}
SCSS
$custom: #945edd;
$custom-light: #b78ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#945edd",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 265.512,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.1876,
    "h": 300.5
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#945EDD
secondary
#CFE3B4
accent
#CD1980
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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