#945FF5#945FF5

#945FF5 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.214 H 295.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#945FF5
RGBrgb(148, 95, 245)
HSLhsl(261, 88%, 67%)
HSVhsv(261, 61%, 96%)
CMYKcmyk(39.6%, 61.2%, 0%, 3.9%)
CIE-LABlab(53.03, 53.11, -67.78)
CIE-LCHlch(53.03, 86.11, 308.08°)
OKLaboklab(61.78% 0.0931 -0.1931)
OKLCHoklch(61.78% 0.214 295.7)
XYZxyz(32.7821, 21.0722, 88.7087)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FF5 #C0F55F
analogous
#5F75F5 #945FF5 #DF5FF5
triadic
#945FF5 #F5945F #5FF594
tetradic
#945FF5 #F55F75 #C0F55F #5FF5DF
square
#945FF5 #F55F75 #C0F55F #5FF5DF
split-complementary
#945FF5 #F5DF5F #75F55F
monochromatic
#510DCD #6D25F1 #945FF5 #BB99F9 #E1D2FC

Accessibility & contrast

On white

4.03
#945FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#945FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FF5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FF5#FFFFFF#000000##000000
##945FF51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#7B81A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #945ff5;
/* rgb */ color: rgb(148, 95, 245);
/* oklch */ color: oklch(61.8% 0.214 295.7);
Tailwind
colors: {
  custom: {
    50: '#b98ff9',
    500: '#945ff5',
    950: '#000000',
  },
}
SCSS
$custom: #945ff5;
$custom-light: #b98ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#945ff5",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 261.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61783,
    "c": 0.21439,
    "h": 295.7
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#945FF5
secondary
#DFF0C0
accent
#E50194
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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