#954BCE#954BCE

#954BCE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.198 H 307.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#954BCE
RGBrgb(149, 75, 206)
HSLhsl(274, 57%, 55%)
HSVhsv(274, 64%, 81%)
CMYKcmyk(27.7%, 63.6%, 0%, 19.2%)
CIE-LABlab(46.81, 54.03, -55.73)
CIE-LCHlch(46.81, 77.62, 314.11°)
OKLaboklab(56.49% 0.1195 -0.1576)
OKLCHoklch(56.49% 0.198 307.2)
XYZxyz(26.0488, 15.8783, 60.0731)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BCE #84CE4B
analogous
#534BCE #954BCE #CE4BC5
triadic
#954BCE #CE954B #4BCE95
tetradic
#954BCE #CE534B #84CE4B #4BC5CE
square
#954BCE #CE534B #84CE4B #4BC5CE
split-complementary
#954BCE #C5CE4B #4BCE53
monochromatic
#55227D #762FAD #954BCE #B17BDB #CEABE8

Accessibility & contrast

On white

5.03
#954BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#954BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BCE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BCE#FFFFFF#000000##FFFFFF
##954BCE1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#8C6686
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954bce;
/* rgb */ color: rgb(149, 75, 206);
/* oklch */ color: oklch(56.5% 0.198 307.2);
Tailwind
colors: {
  custom: {
    50: '#b882de',
    500: '#954bce',
    950: '#000000',
  },
}
SCSS
$custom: #954bce;
$custom-light: #b882de;
$custom-dark: #000000;
JSON
{
  "hex": "#954bce",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 273.893,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.1978,
    "h": 307.2
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#954BCE
secondary
#B7D69F
accent
#E0478A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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