#945FF6#945FF6

#945FF6 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.216 H 295.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#945FF6
RGBrgb(148, 95, 246)
HSLhsl(261, 89%, 67%)
HSVhsv(261, 61%, 96%)
CMYKcmyk(39.8%, 61.4%, 0%, 3.5%)
CIE-LABlab(53.10, 53.37, -68.23)
CIE-LCHlch(53.10, 86.62, 308.03°)
OKLaboklab(61.85% 0.0931 -0.1944)
OKLCHoklch(61.85% 0.216 295.6)
XYZxyz(32.9351, 21.1334, 89.5148)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FF6 #C1F65F
analogous
#5F76F6 #945FF6 #E05FF6
triadic
#945FF6 #F6945F #5FF694
tetradic
#945FF6 #F65F76 #C1F65F #5FF6E0
square
#945FF6 #F65F76 #C1F65F #5FF6E0
split-complementary
#945FF6 #F6E05F #76F65F
monochromatic
#500CCF #6D25F3 #945FF6 #BB99F9 #E1D3FD

Accessibility & contrast

On white

4.02
#945FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#945FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FF6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FF6#FFFFFF#000000##000000
##945FF61.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#7B81A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #945ff6;
/* rgb */ color: rgb(148, 95, 246);
/* oklch */ color: oklch(61.9% 0.216 295.6);
Tailwind
colors: {
  custom: {
    50: '#b98ffa',
    500: '#945ff6',
    950: '#000000',
  },
}
SCSS
$custom: #945ff6;
$custom-light: #b98ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#945ff6",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 261.06,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.21556,
    "h": 295.6
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#945FF6
secondary
#E0F1C0
accent
#E60095
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #945FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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