#945BEE#945BEE

#945BEE is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.212 H 297.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#945BEE
RGBrgb(148, 91, 238)
HSLhsl(263, 81%, 65%)
HSVhsv(263, 62%, 93%)
CMYKcmyk(37.8%, 61.8%, 0%, 6.7%)
CIE-LABlab(51.78, 53.42, -65.89)
CIE-LCHlch(51.78, 84.82, 309.04°)
OKLaboklab(60.73% 0.098 -0.1875)
OKLCHoklch(60.73% 0.212 297.6)
XYZxyz(31.3825, 19.9506, 83.0698)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BEE #B5EE5B
analogous
#5B6CEE #945BEE #DD5BEE
triadic
#945BEE #EE945B #5BEE94
tetradic
#945BEE #EE5B6C #B5EE5B #5BEEDD
square
#945BEE #EE5B6C #B5EE5B #5BEEDD
split-complementary
#945BEE #EEDD5B #6CEE5B
monochromatic
#5413BB #7024E8 #945BEE #B892F4 #DCCAF9

Accessibility & contrast

On white

4.21
#945BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#945BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BEE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BEE#FFFFFF#000000##000000
##945BEE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0D7AEB
Tritanopia (blue-blind)
#7F7C9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945bee;
/* rgb */ color: rgb(148, 91, 238);
/* oklch */ color: oklch(60.7% 0.212 297.6);
Tailwind
colors: {
  custom: {
    50: '#b98cf4',
    500: '#945bee',
    950: '#000000',
  },
}
SCSS
$custom: #945bee;
$custom-light: #b98cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#945bee",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 263.265,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.21159,
    "h": 297.6
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#945BEE
secondary
#D8ECB9
accent
#DE088B
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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