#945EE3#945EE3

#945EE3 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.195 H 299.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#945EE3
RGBrgb(148, 94, 227)
HSLhsl(264, 70%, 63%)
HSVhsv(264, 59%, 89%)
CMYKcmyk(34.8%, 58.6%, 0%, 11%)
CIE-LABlab(51.66, 49.07, -59.89)
CIE-LCHlch(51.66, 77.43, 309.33°)
OKLaboklab(60.42% 0.095 -0.1699)
OKLCHoklch(60.42% 0.195 299.2)
XYZxyz(30.0772, 19.8471, 74.9044)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EE3 #ADE35E
analogous
#5E6AE3 #945EE3 #D65EE3
triadic
#945EE3 #E3945E #5EE394
tetradic
#945EE3 #E35E6A #ADE35E #5EE3D6
square
#945EE3 #E35E6A #ADE35E #5EE3D6
split-complementary
#945EE3 #E3D65E #6AE35E
monochromatic
#561DA9 #712ADA #945EE3 #B792EC #D9C6F5

Accessibility & contrast

On white

4.23
#945EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#945EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EE3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EE3#FFFFFF#000000##000000
##945EE31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117BE7
Deuteranopia (green-blind)
#307AE0
Tritanopia (blue-blind)
#837A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945ee3;
/* rgb */ color: rgb(148, 94, 227);
/* oklch */ color: oklch(60.4% 0.195 299.2);
Tailwind
colors: {
  custom: {
    50: '#b88eec',
    500: '#945ee3',
    950: '#000000',
  },
}
SCSS
$custom: #945ee3;
$custom-light: #b88eec;
$custom-dark: #000000;
JSON
{
  "hex": "#945ee3",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 264.361,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.19468,
    "h": 299.2
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#945EE3
secondary
#D3E6B6
accent
#D21385
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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