#952783#952783

#952783 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.176 H 335.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#952783
RGBrgb(149, 39, 131)
HSLhsl(310, 59%, 37%)
HSVhsv(310, 74%, 58%)
CMYKcmyk(0%, 73.8%, 12.1%, 41.6%)
CIE-LABlab(36.89, 54.91, -26.86)
CIE-LCHlch(36.89, 61.13, 333.94°)
OKLaboklab(47.93% 0.1605 -0.0733)
OKLCHoklch(47.93% 0.176 335.5)
XYZxyz(17.2169, 9.4808, 22.3916)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952783 #279539
analogous
#702795 #952783 #95274C
triadic
#952783 #839527 #278395
tetradic
#952783 #957027 #279539 #274C95
square
#952783 #957027 #279539 #274C95
split-complementary
#952783 #4C9527 #279570
monochromatic
#340E2E #641A58 #952783 #C634AE #D661C2

Accessibility & contrast

On white

7.25
#952783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#952783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952783
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952783#FFFFFF#000000##FFFFFF
##9527831.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C86
Deuteranopia (green-blind)
#4E5D80
Tritanopia (blue-blind)
#9D2F52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952783;
/* rgb */ color: rgb(149, 39, 131);
/* oklch */ color: oklch(47.9% 0.176 335.5);
Tailwind
colors: {
  custom: {
    50: '#b86ca7',
    500: '#952783',
    950: '#000000',
  },
}
SCSS
$custom: #952783;
$custom-light: #b86ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#952783",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 309.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4793,
    "c": 0.17646,
    "h": 335.5
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#952783
secondary
#5DBB6C
accent
#E26046
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952783

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

Preview Lab → · Contrast checker → · Palette generator →

#952783 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva