#954FD3#954FD3

#954FD3 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.4% C 0.198 H 305.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#954FD3
RGBrgb(149, 79, 211)
HSLhsl(272, 60%, 57%)
HSVhsv(272, 63%, 83%)
CMYKcmyk(29.4%, 62.6%, 0%, 17.3%)
CIE-LABlab(47.86, 53.20, -56.92)
CIE-LCHlch(47.86, 77.91, 313.07°)
OKLaboklab(57.35% 0.1146 -0.1611)
OKLCHoklch(57.35% 0.198 305.4)
XYZxyz(26.9457, 16.6849, 63.4163)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FD3 #8DD34F
analogous
#534FD3 #954FD3 #D34FCF
triadic
#954FD3 #D3954F #4FD395
tetradic
#954FD3 #D3534F #8DD34F #4FCFD3
square
#954FD3 #D3534F #8DD34F #4FCFD3
split-complementary
#954FD3 #CFD34F #4FD353
monochromatic
#572286 #772EB7 #954FD3 #B280DF #D0B1EB

Accessibility & contrast

On white

4.84
#954FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#954FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FD3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FD3#FFFFFF#000000##FFFFFF
##954FD31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#3072D0
Tritanopia (blue-blind)
#8A6A8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954fd3;
/* rgb */ color: rgb(149, 79, 211);
/* oklch */ color: oklch(57.4% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#b884e1',
    500: '#954fd3',
    950: '#000000',
  },
}
SCSS
$custom: #954fd3;
$custom-light: #b884e1;
$custom-dark: #000000;
JSON
{
  "hex": "#954fd3",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 271.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.1977,
    "h": 305.4
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#954FD3
secondary
#BDDAA4
accent
#E3458F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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