#945BE4#945BE4

#945BE4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.200 H 299.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#945BE4
RGBrgb(148, 91, 228)
HSLhsl(265, 72%, 63%)
HSVhsv(265, 60%, 89%)
CMYKcmyk(35.1%, 60.1%, 0%, 10.6%)
CIE-LABlab(51.13, 50.91, -61.32)
CIE-LCHlch(51.13, 79.70, 309.70°)
OKLaboklab(60.05% 0.0985 -0.1741)
OKLCHoklch(60.05% 0.2 299.5)
XYZxyz(29.9540, 19.3792, 75.5462)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BE4 #ABE45B
analogous
#5B66E4 #945BE4 #D95BE4
triadic
#945BE4 #E4945B #5BE494
tetradic
#945BE4 #E45B66 #ABE45B #5BE4D9
square
#945BE4 #E45B66 #ABE45B #5BE4D9
split-complementary
#945BE4 #E4D95B #66E45B
monochromatic
#561CA9 #7226DB #945BE4 #B690ED #D9C4F5

Accessibility & contrast

On white

4.31
#945BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#945BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BE4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BE4#FFFFFF#000000##000000
##945BE41.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#827897
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945be4;
/* rgb */ color: rgb(148, 91, 228);
/* oklch */ color: oklch(60.0% 0.200 299.5);
Tailwind
colors: {
  custom: {
    50: '#b88ced',
    500: '#945be4',
    950: '#000000',
  },
}
SCSS
$custom: #945be4;
$custom-light: #b88ced;
$custom-dark: #000000;
JSON
{
  "hex": "#945be4",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 264.964,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.20004,
    "h": 299.5
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#945BE4
secondary
#D2E6B4
accent
#D41283
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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