#945FDA#945FDA

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

Color values

HEX#945FDA
RGBrgb(148, 95, 218)
HSLhsl(266, 62%, 61%)
HSVhsv(266, 56%, 85%)
CMYKcmyk(32.1%, 56.4%, 0%, 14.5%)
CIE-LABlab(51.32, 46.29, -55.36)
CIE-LCHlch(51.32, 72.16, 309.90°)
OKLaboklab(59.99% 0.0938 -0.1566)
OKLCHoklch(59.99% 0.183 300.9)
XYZxyz(28.9569, 19.5421, 68.5625)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FDA #A5DA5F
analogous
#5F68DA #945FDA #D25FDA
triadic
#945FDA #DA945F #5FDA94
tetradic
#945FDA #DA5F68 #A5DA5F #5FDAD2
square
#945FDA #DA5F68 #A5DA5F #5FDAD2
split-complementary
#945FDA #DAD25F #68DA5F
monochromatic
#57249B #732FCD #945FDA #B591E5 #D6C2F1

Accessibility & contrast

On white

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

On black

4.91
#945FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FDA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FDA#FFFFFF#000000##000000
##945FDA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#867893
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945fda;
/* rgb */ color: rgb(148, 95, 218);
/* oklch */ color: oklch(60.0% 0.183 300.9);
Tailwind
colors: {
  custom: {
    50: '#b78ee6',
    500: '#945fda',
    950: '#000000',
  },
}
SCSS
$custom: #945fda;
$custom-light: #b78ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#945fda",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 265.854,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.18258,
    "h": 300.9
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#945FDA
secondary
#CEE1B3
accent
#CA1B7F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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