#954BE1#954BE1

#954BE1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.218 H 302.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#954BE1
RGBrgb(149, 75, 225)
HSLhsl(270, 71%, 59%)
HSVhsv(270, 67%, 88%)
CMYKcmyk(33.8%, 66.7%, 0%, 11.8%)
CIE-LABlab(48.08, 58.44, -64.54)
CIE-LCHlch(48.08, 87.07, 312.16°)
OKLaboklab(57.81% 0.1178 -0.1835)
OKLCHoklch(57.81% 0.218 302.7)
XYZxyz(28.4979, 16.8579, 72.9721)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BE1 #97E14B
analogous
#4B4CE1 #954BE1 #E04BE1
triadic
#954BE1 #E1954B #4BE195
tetradic
#954BE1 #E14B4C #97E14B #4BE1E0
square
#954BE1 #E14B4C #97E14B #4BE1E0
split-complementary
#954BE1 #E1E04B #4CE14B
monochromatic
#581998 #7622CD #954BE1 #B47FEA #D3B4F2

Accessibility & contrast

On white

4.80
#954BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#954BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BE1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BE1#FFFFFF#000000##FFFFFF
##954BE11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0072DE
Tritanopia (blue-blind)
#866D90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954be1;
/* rgb */ color: rgb(149, 75, 225);
/* oklch */ color: oklch(57.8% 0.218 302.7);
Tailwind
colors: {
  custom: {
    50: '#b982eb',
    500: '#954be1',
    950: '#000000',
  },
}
SCSS
$custom: #954be1;
$custom-light: #b982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#954be1",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 269.6,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.21806,
    "h": 302.7
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#954BE1
secondary
#C4E1A6
accent
#EE3A95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954BE1

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

Preview Lab → · Contrast checker → · Palette generator →

#954BE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva