#98268E#98268E

#98268E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 331.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#98268E
RGBrgb(152, 38, 142)
HSLhsl(305, 60%, 37%)
HSVhsv(305, 75%, 60%)
CMYKcmyk(0%, 75%, 6.6%, 40.4%)
CIE-LABlab(37.87, 57.69, -32.06)
CIE-LCHlch(37.87, 66.00, 330.94°)
OKLaboklab(48.92% 0.1654 -0.0882)
OKLCHoklch(48.92% 0.187 331.9)
XYZxyz(18.5245, 10.0161, 26.5436)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98268E #269830
analogous
#692698 #98268E #982655
triadic
#98268E #8E9826 #268E98
tetradic
#98268E #986926 #269830 #265598
square
#98268E #986926 #269830 #265598
split-complementary
#98268E #559826 #269869
monochromatic
#360E33 #671A60 #98268E #C932BC #D761CD

Accessibility & contrast

On white

6.99
#98268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#98268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98268E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98268E#FFFFFF#000000##FFFFFF
##98268E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#9F3358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98268e;
/* rgb */ color: rgb(152, 38, 142);
/* oklch */ color: oklch(48.9% 0.187 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6daf',
    500: '#98268e',
    950: '#000000',
  },
}
SCSS
$custom: #98268e;
$custom-light: #ba6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#98268e",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 305.263,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.18744,
    "h": 331.9
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#98268E
secondary
#5DBD65
accent
#E35345
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98268E

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

Preview Lab → · Contrast checker → · Palette generator →

#98268E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva