#945FDD#945FDD

#945FDD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.186 H 300.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#945FDD
RGBrgb(148, 95, 221)
HSLhsl(265, 65%, 62%)
HSVhsv(265, 57%, 87%)
CMYKcmyk(33%, 57%, 0%, 13.3%)
CIE-LABlab(51.50, 47.03, -56.77)
CIE-LCHlch(51.50, 73.72, 309.64°)
OKLaboklab(60.18% 0.0939 -0.1608)
OKLCHoklch(60.18% 0.186 300.3)
XYZxyz(29.3530, 19.7006, 70.6488)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FDD #A8DD5F
analogous
#5F69DD #945FDD #D35FDD
triadic
#945FDD #DD945F #5FDD94
tetradic
#945FDD #DD5F69 #A8DD5F #5FDDD3
square
#945FDD #DD5F69 #A8DD5F #5FDDD3
split-complementary
#945FDD #DDD35F #69DD5F
monochromatic
#5722A0 #722DD2 #945FDD #B691E8 #D8C4F2

Accessibility & contrast

On white

4.25
#945FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#945FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FDD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FDD#FFFFFF#000000##000000
##945FDD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#857995
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945fdd;
/* rgb */ color: rgb(148, 95, 221);
/* oklch */ color: oklch(60.2% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#b78ee8',
    500: '#945fdd',
    950: '#000000',
  },
}
SCSS
$custom: #945fdd;
$custom-light: #b78ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#945fdd",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 265.238,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.18615,
    "h": 300.3
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#945FDD
secondary
#D0E3B5
accent
#CD1981
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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