#954BDB#954BDB

#954BDB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.212 H 304.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#954BDB
RGBrgb(149, 75, 219)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 66%, 86%)
CMYKcmyk(32%, 65.8%, 0%, 14.1%)
CIE-LABlab(47.67, 57.03, -61.79)
CIE-LCHlch(47.67, 84.09, 312.71°)
OKLaboklab(57.38% 0.1185 -0.1754)
OKLCHoklch(57.38% 0.212 304)
XYZxyz(27.6938, 16.5363, 68.7369)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BDB #91DB4B
analogous
#4D4BDB #954BDB #DB4BD9
triadic
#954BDB #DB954B #4BDB95
tetradic
#954BDB #DB4D4B #91DB4B #4BD9DB
square
#954BDB #DB4D4B #91DB4B #4BD9DB
split-complementary
#954BDB #D9DB4B #4BDB4D
monochromatic
#571D8F #7727C2 #954BDB #B37EE5 #D1B1EF

Accessibility & contrast

On white

4.88
#954BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#954BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BDB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BDB#FFFFFF#000000##FFFFFF
##954BDB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#1971D8
Tritanopia (blue-blind)
#886B8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954bdb;
/* rgb */ color: rgb(149, 75, 219);
/* oklch */ color: oklch(57.4% 0.212 304.0);
Tailwind
colors: {
  custom: {
    50: '#b982e7',
    500: '#954bdb',
    950: '#000000',
  },
}
SCSS
$custom: #954bdb;
$custom-light: #b982e7;
$custom-dark: #000000;
JSON
{
  "hex": "#954bdb",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 270.833,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57382,
    "c": 0.21167,
    "h": 304
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#954BDB
secondary
#C0DEA4
accent
#EA3E92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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