#954FBA#954FBA

#954FBA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.170 H 312.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#954FBA
RGBrgb(149, 79, 186)
HSLhsl(279, 44%, 52%)
HSVhsv(279, 58%, 73%)
CMYKcmyk(19.9%, 57.5%, 0%, 27.1%)
CIE-LABlab(46.35, 47.51, -44.90)
CIE-LCHlch(46.35, 65.38, 316.62°)
OKLaboklab(55.77% 0.1148 -0.1259)
OKLCHoklch(55.77% 0.17 312.4)
XYZxyz(24.0518, 15.5273, 48.1749)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FBA #74BA4F
analogous
#604FBA #954FBA #BA4FAA
triadic
#954FBA #BA954F #4FBA95
tetradic
#954FBA #BA604F #74BA4F #4FAABA
square
#954FBA #BA604F #74BA4F #4FAABA
split-complementary
#954FBA #AABA4F #4FBA60
monochromatic
#512866 #743992 #954FBA #AF7BCB #CAA7DC

Accessibility & contrast

On white

5.12
#954FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#954FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FBA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FBA#FFFFFF#000000##FFFFFF
##954FBA1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#91627D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954fba;
/* rgb */ color: rgb(149, 79, 186);
/* oklch */ color: oklch(55.8% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#b783cf',
    500: '#954fba',
    950: '#000000',
  },
}
SCSS
$custom: #954fba;
$custom-light: #b783cf;
$custom-dark: #000000;
JSON
{
  "hex": "#954fba",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 279.252,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.17039,
    "h": 312.4
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#954FBA
secondary
#ABCA9B
accent
#D35480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #954FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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