#954FDB#954FDB

#954FDB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.206 H 303.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#954FDB
RGBrgb(149, 79, 219)
HSLhsl(270, 66%, 58%)
HSVhsv(270, 64%, 86%)
CMYKcmyk(32%, 63.9%, 0%, 14.1%)
CIE-LABlab(48.38, 55.09, -60.65)
CIE-LCHlch(48.38, 81.93, 312.25°)
OKLaboklab(57.89% 0.1141 -0.1721)
OKLCHoklch(57.89% 0.206 303.5)
XYZxyz(27.9737, 17.0960, 68.8302)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FDB #95DB4F
analogous
#4F4FDB #954FDB #DB4FDB
triadic
#954FDB #DB954F #4FDB95
tetradic
#954FDB #DB4F4F #95DB4F #4FDBDB
square
#954FDB #DB4F4F #95DB4F #4FDBDB
split-complementary
#954FDB #DBDB4F #4FDB4F
monochromatic
#581E92 #7628C5 #954FDB #B482E5 #D2B5F0

Accessibility & contrast

On white

4.75
#954FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#954FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FDB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FDB#FFFFFF#000000##FFFFFF
##954FDB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2273D8
Tritanopia (blue-blind)
#886D8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954fdb;
/* rgb */ color: rgb(149, 79, 219);
/* oklch */ color: oklch(57.9% 0.206 303.5);
Tailwind
colors: {
  custom: {
    50: '#b984e7',
    500: '#954fdb',
    950: '#000000',
  },
}
SCSS
$custom: #954fdb;
$custom-light: #b984e7;
$custom-dark: #000000;
JSON
{
  "hex": "#954fdb",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57894,
    "c": 0.20644,
    "h": 303.5
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#954FDB
secondary
#C3DFA7
accent
#E93F94
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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