#952FBC#952FBC

#952FBC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.215 H 314.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#952FBC
RGBrgb(149, 47, 188)
HSLhsl(283, 60%, 46%)
HSVhsv(283, 75%, 74%)
CMYKcmyk(20.7%, 75%, 0%, 26.3%)
CIE-LABlab(41.30, 62.25, -54.16)
CIE-LCHlch(41.30, 82.52, 318.97°)
OKLaboklab(52.17% 0.1508 -0.1529)
OKLCHoklch(52.17% 0.215 314.6)
XYZxyz(22.4865, 12.0542, 48.7094)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952FBC #56BC2F
analogous
#4E2FBC #952FBC #BC2F9C
triadic
#952FBC #BC952F #2FBC95
tetradic
#952FBC #BC4E2F #56BC2F #2F9CBC
square
#952FBC #BC4E2F #56BC2F #2F9CBC
split-complementary
#952FBC #9CBC2F #2FBC4E
monochromatic
#47175A #6E238B #952FBC #B154D4 #C785E0

Accessibility & contrast

On white

6.16
#952FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#952FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952FBC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952FBC#FFFFFF#000000##FFFFFF
##952FBC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#914E74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952fbc;
/* rgb */ color: rgb(149, 47, 188);
/* oklch */ color: oklch(52.2% 0.215 314.6);
Tailwind
colors: {
  custom: {
    50: '#b972d1',
    500: '#952fbc',
    950: '#000000',
  },
}
SCSS
$custom: #952fbc;
$custom-light: #b972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#952fbc",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 283.404,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.21469,
    "h": 314.6
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#952FBC
secondary
#92CA7D
accent
#E34570
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #952FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#952FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva