#945FF4#945FF4

#945FF4 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.213 H 295.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#945FF4
RGBrgb(148, 95, 244)
HSLhsl(261, 87%, 66%)
HSVhsv(261, 61%, 96%)
CMYKcmyk(39.3%, 61.1%, 0%, 4.3%)
CIE-LABlab(52.96, 52.85, -67.33)
CIE-LCHlch(52.96, 85.60, 308.13°)
OKLaboklab(61.71% 0.0932 -0.1918)
OKLCHoklch(61.71% 0.213 295.9)
XYZxyz(32.6298, 21.0113, 87.9069)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FF4 #BFF45F
analogous
#5F75F4 #945FF4 #DF5FF4
triadic
#945FF4 #F4945F #5FF494
tetradic
#945FF4 #F45F75 #BFF45F #5FF4DF
square
#945FF4 #F45F75 #BFF45F #5FF4DF
split-complementary
#945FF4 #F4DF5F #75F45F
monochromatic
#510ECB #6E26F0 #945FF4 #BA98F8 #E1D2FC

Accessibility & contrast

On white

4.04
#945FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#945FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FF4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FF4#FFFFFF#000000##000000
##945FF41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#037CF1
Tritanopia (blue-blind)
#7C80A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #945ff4;
/* rgb */ color: rgb(148, 95, 244);
/* oklch */ color: oklch(61.7% 0.213 295.9);
Tailwind
colors: {
  custom: {
    50: '#b98ff9',
    500: '#945ff4',
    950: '#000000',
  },
}
SCSS
$custom: #945ff4;
$custom-light: #b98ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#945ff4",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 261.342,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.21323,
    "h": 295.9
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#945FF4
secondary
#DEF0BF
accent
#E40293
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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