#954FBE#954FBE

#954FBE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.175 H 311.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#954FBE
RGBrgb(149, 79, 190)
HSLhsl(278, 46%, 53%)
HSVhsv(278, 58%, 75%)
CMYKcmyk(21.6%, 58.4%, 0%, 25.5%)
CIE-LABlab(46.58, 48.40, -46.86)
CIE-LCHlch(46.58, 67.37, 315.92°)
OKLaboklab(56.01% 0.1149 -0.1316)
OKLCHoklch(56.01% 0.175 311.1)
XYZxyz(24.4830, 15.6998, 50.4458)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FBE #78BE4F
analogous
#5E4FBE #954FBE #BE4FAF
triadic
#954FBE #BE954F #4FBE95
tetradic
#954FBE #BE5E4F #78BE4F #4FAFBE
square
#954FBE #BE5E4F #78BE4F #4FAFBE
split-complementary
#954FBE #AFBE4F #4FBE5E
monochromatic
#52286B #743898 #954FBE #B07CCF #CBA8DF

Accessibility & contrast

On white

5.07
#954FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#954FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FBE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FBE#FFFFFF#000000##FFFFFF
##954FBE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC2
Deuteranopia (green-blind)
#4570BB
Tritanopia (blue-blind)
#90637F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954fbe;
/* rgb */ color: rgb(149, 79, 190);
/* oklch */ color: oklch(56.0% 0.175 311.1);
Tailwind
colors: {
  custom: {
    50: '#b784d2',
    500: '#954fbe',
    950: '#000000',
  },
}
SCSS
$custom: #954fbe;
$custom-light: #b784d2;
$custom-dark: #000000;
JSON
{
  "hex": "#954fbe",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 277.838,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.17474,
    "h": 311.1
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#954FBE
secondary
#AECC9C
accent
#D65283
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #954FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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