#954FAF#954FAF

#954FAF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.1% C 0.158 H 316.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#954FAF
RGBrgb(149, 79, 175)
HSLhsl(284, 38%, 50%)
HSVhsv(284, 55%, 69%)
CMYKcmyk(14.9%, 54.9%, 0%, 31.4%)
CIE-LABlab(45.74, 45.13, -39.43)
CIE-LCHlch(45.74, 59.93, 318.85°)
OKLaboklab(55.12% 0.1142 -0.1099)
OKLCHoklch(55.12% 0.158 316.1)
XYZxyz(22.9271, 15.0774, 42.2516)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FAF #69AF4F
analogous
#654FAF #954FAF #AF4F99
triadic
#954FAF #AF954F #4FAF95
tetradic
#954FAF #AF654F #69AF4F #4F99AF
square
#954FAF #AF654F #69AF4F #4F99AF
split-complementary
#954FAF #99AF4F #4FAF65
monochromatic
#4D295B #713C85 #954FAF #AE79C2 #C8A3D5

Accessibility & contrast

On white

5.23
#954FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#954FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FAF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FAF#FFFFFF#000000##FFFFFF
##954FAF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#945E77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #954faf;
/* rgb */ color: rgb(149, 79, 175);
/* oklch */ color: oklch(55.1% 0.158 316.1);
Tailwind
colors: {
  custom: {
    50: '#b683c7',
    500: '#954faf',
    950: '#000000',
  },
}
SCSS
$custom: #954faf;
$custom-light: #b683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#954faf",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 283.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.15849,
    "h": 316.1
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#954FAF
secondary
#A3C397
accent
#CE5A79
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #954FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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