#954ED7#954ED7

#954ED7 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.203 H 304.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#954ED7
RGBrgb(149, 78, 215)
HSLhsl(271, 63%, 57%)
HSVhsv(271, 64%, 84%)
CMYKcmyk(30.7%, 63.7%, 0%, 15.7%)
CIE-LABlab(47.94, 54.64, -59.08)
CIE-LCHlch(47.94, 80.47, 312.76°)
OKLaboklab(57.49% 0.1155 -0.1675)
OKLCHoklch(57.49% 0.203 304.6)
XYZxyz(27.3818, 16.7448, 66.0663)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ED7 #90D74E
analogous
#504ED7 #954ED7 #D74ED5
triadic
#954ED7 #D7954E #4ED795
tetradic
#954ED7 #D7504E #90D74E #4ED5D7
square
#954ED7 #D7504E #90D74E #4ED5D7
split-complementary
#954ED7 #D5D74E #4ED750
monochromatic
#571F8B #772BBD #954ED7 #B380E2 #D1B2EE

Accessibility & contrast

On white

4.83
#954ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#954ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ED7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ED7#FFFFFF#000000##FFFFFF
##954ED71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2872D4
Tritanopia (blue-blind)
#896B8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954ed7;
/* rgb */ color: rgb(149, 78, 215);
/* oklch */ color: oklch(57.5% 0.203 304.6);
Tailwind
colors: {
  custom: {
    50: '#b984e4',
    500: '#954ed7',
    950: '#000000',
  },
}
SCSS
$custom: #954ed7;
$custom-light: #b984e4;
$custom-dark: #000000;
JSON
{
  "hex": "#954ed7",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 271.095,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.20342,
    "h": 304.6
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#954ED7
secondary
#BFDCA5
accent
#E64291
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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