#952698#952698

#952698 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.194 H 326.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#952698
RGBrgb(149, 38, 152)
HSLhsl(298, 60%, 37%)
HSVhsv(298, 75%, 60%)
CMYKcmyk(2%, 75%, 0%, 40.4%)
CIE-LABlab(37.92, 58.67, -38.11)
CIE-LCHlch(37.92, 69.96, 327.00°)
OKLaboklab(49.04% 0.1622 -0.1058)
OKLCHoklch(49.04% 0.194 326.9)
XYZxyz(18.7547, 10.0441, 30.6506)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952698 #299826
analogous
#5C2698 #952698 #982662
triadic
#952698 #989526 #269895
tetradic
#952698 #985C26 #299826 #266298
square
#952698 #985C26 #299826 #266298
split-complementary
#952698 #629826 #26985C
monochromatic
#350E36 #651A67 #952698 #C532C9 #D461D7

Accessibility & contrast

On white

6.98
#952698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952698
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952698#FFFFFF#000000##FFFFFF
##9526981.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#99395D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952698;
/* rgb */ color: rgb(149, 38, 152);
/* oklch */ color: oklch(49.0% 0.194 326.9);
Tailwind
colors: {
  custom: {
    50: '#b86db7',
    500: '#952698',
    950: '#000000',
  },
}
SCSS
$custom: #952698;
$custom-light: #b86db7;
$custom-dark: #000000;
JSON
{
  "hex": "#952698",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 298.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49038,
    "c": 0.19369,
    "h": 326.9
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#952698
secondary
#60BD5D
accent
#E34549
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952698

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

Preview Lab → · Contrast checker → · Palette generator →

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