#954FA2#954FA2

#954FA2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.4% C 0.145 H 321.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#954FA2
RGBrgb(149, 79, 162)
HSLhsl(291, 34%, 47%)
HSVhsv(291, 51%, 64%)
CMYKcmyk(8%, 51.2%, 0%, 36.5%)
CIE-LABlab(45.07, 42.42, -32.81)
CIE-LCHlch(45.07, 53.63, 322.28°)
OKLaboklab(54.41% 0.1128 -0.0908)
OKLCHoklch(54.41% 0.145 321.2)
XYZxyz(21.7112, 14.5911, 35.8481)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FA2 #5CA24F
analogous
#6B4FA2 #954FA2 #A24F86
triadic
#954FA2 #A2954F #4FA295
tetradic
#954FA2 #A26B4F #5CA24F #4F86A2
square
#954FA2 #A26B4F #5CA24F #4F86A2
split-complementary
#954FA2 #86A24F #4FA26B
monochromatic
#492750 #6F3B79 #954FA2 #B073BB #C79CCF

Accessibility & contrast

On white

5.36
#954FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#954FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FA2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FA2#FFFFFF#000000##FFFFFF
##954FA21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#965A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954fa2;
/* rgb */ color: rgb(149, 79, 162);
/* oklch */ color: oklch(54.4% 0.145 321.2);
Tailwind
colors: {
  custom: {
    50: '#b683be',
    500: '#954fa2',
    950: '#000000',
  },
}
SCSS
$custom: #954fa2;
$custom-light: #b683be;
$custom-dark: #000000;
JSON
{
  "hex": "#954fa2",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 290.602,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.14474,
    "h": 321.2
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#954FA2
secondary
#98BC91
accent
#CB5D6E
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #954FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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