#945EEE#945EEE

#945EEE is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.208 H 297.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#945EEE
RGBrgb(148, 94, 238)
HSLhsl(263, 81%, 65%)
HSVhsv(263, 61%, 93%)
CMYKcmyk(37.8%, 60.5%, 0%, 6.7%)
CIE-LABlab(52.37, 51.85, -64.94)
CIE-LCHlch(52.37, 83.10, 308.61°)
OKLaboklab(61.16% 0.0946 -0.1847)
OKLCHoklch(61.16% 0.208 297.1)
XYZxyz(31.6441, 20.4738, 83.1570)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EEE #B8EE5E
analogous
#5E70EE #945EEE #DC5EEE
triadic
#945EEE #EE945E #5EEE94
tetradic
#945EEE #EE5E70 #B8EE5E #5EEEDC
square
#945EEE #EE5E70 #B8EE5E #5EEEDC
split-complementary
#945EEE #EEDC5E #70EE5E
monochromatic
#5414BE #6F27E8 #945EEE #B995F4 #DECDFA

Accessibility & contrast

On white

4.12
#945EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#945EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945EEE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945EEE#FFFFFF#000000##000000
##945EEE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#1A7BEB
Tritanopia (blue-blind)
#7E7E9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #945eee;
/* rgb */ color: rgb(148, 94, 238);
/* oklch */ color: oklch(61.2% 0.208 297.1);
Tailwind
colors: {
  custom: {
    50: '#b98ef4',
    500: '#945eee',
    950: '#000000',
  },
}
SCSS
$custom: #945eee;
$custom-light: #b98ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#945eee",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 262.5,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.20758,
    "h": 297.1
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#945EEE
secondary
#DAECBB
accent
#DD088D
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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