#945EE6#945EE6

#945EE6 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.198 H 298.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#945EE6
RGBrgb(148, 94, 230)
HSLhsl(264, 73%, 64%)
HSVhsv(264, 59%, 90%)
CMYKcmyk(35.7%, 59.1%, 0%, 9.8%)
CIE-LABlab(51.85, 49.82, -61.28)
CIE-LCHlch(51.85, 78.98, 309.11°)
OKLaboklab(60.62% 0.0949 -0.174)
OKLCHoklch(60.62% 0.198 298.6)
XYZxyz(30.4948, 20.0141, 77.1041)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EE6 #B0E65E
analogous
#5E6CE6 #945EE6 #D85EE6
triadic
#945EE6 #E6945E #5EE694
tetradic
#945EE6 #E65E6C #B0E65E #5EE6D8
square
#945EE6 #E65E6C #B0E65E #5EE6D8
split-complementary
#945EE6 #E6D85E #6CE65E
monochromatic
#561BAF #7129DE #945EE6 #B793EE #DAC8F6

Accessibility & contrast

On white

4.20
#945EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#945EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EE6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EE6#FFFFFF#000000##000000
##945EE61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#037CEA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#827B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945ee6;
/* rgb */ color: rgb(148, 94, 230);
/* oklch */ color: oklch(60.6% 0.198 298.6);
Tailwind
colors: {
  custom: {
    50: '#b88eef',
    500: '#945ee6',
    950: '#000000',
  },
}
SCSS
$custom: #945ee6;
$custom-light: #b88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#945ee6",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 263.824,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.19821,
    "h": 298.6
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#945EE6
secondary
#D5E8B8
accent
#D51087
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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