#945FE5#945FE5

#945FE5 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.196 H 298.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#945FE5
RGBrgb(148, 95, 229)
HSLhsl(264, 72%, 64%)
HSVhsv(264, 59%, 90%)
CMYKcmyk(35.4%, 58.5%, 0%, 10.2%)
CIE-LABlab(51.99, 49.04, -60.49)
CIE-LCHlch(51.99, 77.87, 309.03°)
OKLaboklab(60.7% 0.0938 -0.1717)
OKLCHoklch(60.7% 0.196 298.6)
XYZxyz(30.4443, 20.1371, 76.3964)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FE5 #B0E55F
analogous
#5F6DE5 #945FE5 #D75FE5
triadic
#945FE5 #E5945F #5FE594
tetradic
#945FE5 #E55F6D #B0E55F #5FE5D7
square
#945FE5 #E55F6D #B0E55F #5FE5D7
split-complementary
#945FE5 #E5D75F #6DE55F
monochromatic
#561CAD #712ADC #945FE5 #B794EE #DAC8F6

Accessibility & contrast

On white

4.18
#945FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#945FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FE5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FE5#FFFFFF#000000##000000
##945FE51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#107CE9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#827B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945fe5;
/* rgb */ color: rgb(148, 95, 229);
/* oklch */ color: oklch(60.7% 0.196 298.6);
Tailwind
colors: {
  custom: {
    50: '#b88eee',
    500: '#945fe5',
    950: '#000000',
  },
}
SCSS
$custom: #945fe5;
$custom-light: #b88eee;
$custom-dark: #000000;
JSON
{
  "hex": "#945fe5",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 263.731,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.19564,
    "h": 298.6
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#945FE5
secondary
#D5E8B8
accent
#D41187
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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