#945DE7#945DE7

#945DE7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.201 H 298.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#945DE7
RGBrgb(148, 93, 231)
HSLhsl(264, 74%, 64%)
HSVhsv(264, 60%, 91%)
CMYKcmyk(35.9%, 59.7%, 0%, 9.4%)
CIE-LABlab(51.72, 50.61, -62.06)
CIE-LCHlch(51.72, 80.08, 309.20°)
OKLaboklab(60.54% 0.0961 -0.1763)
OKLCHoklch(60.54% 0.201 298.6)
XYZxyz(30.5473, 19.8938, 77.8163)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DE7 #B0E75D
analogous
#5D6BE7 #945DE7 #D95DE7
triadic
#945DE7 #E7945D #5DE794
tetradic
#945DE7 #E75D6B #B0E75D #5DE7D9
square
#945DE7 #E75D6B #B0E75D #5DE7D9
split-complementary
#945DE7 #E7D95D #6BE75D
monochromatic
#561AB0 #7128DF #945DE7 #B792EF #DAC8F7

Accessibility & contrast

On white

4.22
#945DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#945DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DE7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DE7#FFFFFF#000000##000000
##945DE71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#817B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945de7;
/* rgb */ color: rgb(148, 93, 231);
/* oklch */ color: oklch(60.5% 0.201 298.6);
Tailwind
colors: {
  custom: {
    50: '#b88def',
    500: '#945de7',
    950: '#000000',
  },
}
SCSS
$custom: #945de7;
$custom-light: #b88def;
$custom-dark: #000000;
JSON
{
  "hex": "#945de7",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 263.913,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.20077,
    "h": 298.6
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#945DE7
secondary
#D5E8B7
accent
#D60F87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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