#954BE8#954BE8

#954BE8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.225 H 301.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#954BE8
RGBrgb(149, 75, 232)
HSLhsl(268, 77%, 60%)
HSVhsv(268, 68%, 91%)
CMYKcmyk(35.8%, 67.7%, 0%, 9%)
CIE-LABlab(48.57, 60.10, -67.71)
CIE-LCHlch(48.57, 90.53, 311.60°)
OKLaboklab(58.31% 0.1169 -0.1928)
OKLCHoklch(58.31% 0.225 301.2)
XYZxyz(29.4725, 17.2477, 78.1047)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BE8 #9EE84B
analogous
#4B50E8 #954BE8 #E34BE8
triadic
#954BE8 #E8954B #4BE895
tetradic
#954BE8 #E84B50 #9EE84B #4BE8E3
square
#954BE8 #E84B50 #9EE84B #4BE8E3
split-complementary
#954BE8 #E8E34B #50E84B
monochromatic
#5815A4 #751CDA #954BE8 #B581EF #D5B8F6

Accessibility & contrast

On white

4.72
#954BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#954BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BE8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BE8#FFFFFF#000000##FFFFFF
##954BE81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#837094
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954be8;
/* rgb */ color: rgb(149, 75, 232);
/* oklch */ color: oklch(58.3% 0.225 301.2);
Tailwind
colors: {
  custom: {
    50: '#ba82f0',
    500: '#954be8',
    950: '#000000',
  },
}
SCSS
$custom: #954be8;
$custom-light: #ba82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#954be8",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 268.28,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.22548,
    "h": 301.2
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#954BE8
secondary
#C9E6A9
accent
#DA0C79
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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