#945FE9#945FE9

#945FE9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.0% C 0.200 H 297.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#945FE9
RGBrgb(148, 95, 233)
HSLhsl(263, 76%, 64%)
HSVhsv(263, 59%, 91%)
CMYKcmyk(36.5%, 59.2%, 0%, 8.6%)
CIE-LABlab(52.25, 50.05, -62.33)
CIE-LCHlch(52.25, 79.94, 308.76°)
OKLaboklab(60.96% 0.0937 -0.1771)
OKLCHoklch(60.96% 0.2 297.9)
XYZxyz(31.0092, 20.3631, 79.3717)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FE9 #B4E95F
analogous
#5F6FE9 #945FE9 #D95FE9
triadic
#945FE9 #E9945F #5FE994
tetradic
#945FE9 #E95F6F #B4E95F #5FE9D9
square
#945FE9 #E95F6F #B4E95F #5FE9D9
split-complementary
#945FE9 #E9D95F #6FE95F
monochromatic
#5519B5 #7029E2 #945FE9 #B895F0 #DCCBF8

Accessibility & contrast

On white

4.14
#945FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#945FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FE9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FE9#FFFFFF#000000##000000
##945FE91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#807D9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #945fe9;
/* rgb */ color: rgb(148, 95, 233);
/* oklch */ color: oklch(61.0% 0.200 297.9);
Tailwind
colors: {
  custom: {
    50: '#b88ff1',
    500: '#945fe9',
    950: '#000000',
  },
}
SCSS
$custom: #945fe9;
$custom-light: #b88ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#945fe9",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 263.043,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.20036,
    "h": 297.9
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#945FE9
secondary
#D7EABA
accent
#D80D8A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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