#954FB2#954FB2

#954FB2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.3% C 0.162 H 315.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#954FB2
RGBrgb(149, 79, 178)
HSLhsl(282, 39%, 50%)
HSVhsv(282, 56%, 70%)
CMYKcmyk(16.3%, 55.6%, 0%, 30.2%)
CIE-LABlab(45.90, 45.77, -40.93)
CIE-LCHlch(45.90, 61.40, 318.19°)
OKLaboklab(55.3% 0.1144 -0.1143)
OKLCHoklch(55.3% 0.162 315)
XYZxyz(23.2250, 15.1966, 43.8207)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FB2 #6CB24F
analogous
#634FB2 #954FB2 #B24F9D
triadic
#954FB2 #B2954F #4FB295
tetradic
#954FB2 #B2634F #6CB24F #4F9DB2
square
#954FB2 #B2634F #6CB24F #4F9DB2
split-complementary
#954FB2 #9DB24F #4FB263
monochromatic
#4E295E #723C88 #954FB2 #AF7AC5 #C8A4D7

Accessibility & contrast

On white

5.20
#954FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#954FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FB2#FFFFFF#000000##FFFFFF
##954FB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#935F79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954fb2;
/* rgb */ color: rgb(149, 79, 178);
/* oklch */ color: oklch(55.3% 0.162 315.0);
Tailwind
colors: {
  custom: {
    50: '#b683c9',
    500: '#954fb2',
    950: '#000000',
  },
}
SCSS
$custom: #954fb2;
$custom-light: #b683c9;
$custom-dark: #000000;
JSON
{
  "hex": "#954fb2",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 282.424,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.16172,
    "h": 315
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#954FB2
secondary
#A5C498
accent
#CF597B
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #954FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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