#9748BE#9748BE

#9748BE is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.186 H 312.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9748BE
RGBrgb(151, 72, 190)
HSLhsl(280, 48%, 51%)
HSVhsv(280, 62%, 75%)
CMYKcmyk(20.5%, 62.1%, 0%, 25.5%)
CIE-LABlab(45.54, 52.39, -48.51)
CIE-LCHlch(45.54, 71.40, 317.21°)
OKLaboklab(55.31% 0.1262 -0.1363)
OKLCHoklch(55.31% 0.186 312.8)
XYZxyz(24.3725, 14.9324, 50.3036)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748BE #6FBE48
analogous
#5C48BE #9748BE #BE48AA
triadic
#9748BE #BE9748 #48BE97
tetradic
#9748BE #BE5C48 #6FBE48 #48AABE
square
#9748BE #BE5C48 #6FBE48 #48AABE
split-complementary
#9748BE #AABE48 #48BE5C
monochromatic
#512567 #753594 #9748BE #B175CE #CAA2DE

Accessibility & contrast

On white

5.27
#9748BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9748BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748BE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748BE#FFFFFF#000000##FFFFFF
##9748BE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C2
Deuteranopia (green-blind)
#416EBB
Tritanopia (blue-blind)
#935E7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9748be;
/* rgb */ color: rgb(151, 72, 190);
/* oklch */ color: oklch(55.3% 0.186 312.8);
Tailwind
colors: {
  custom: {
    50: '#b980d2',
    500: '#9748be',
    950: '#000000',
  },
}
SCSS
$custom: #9748be;
$custom-light: #b980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9748be",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 280.169,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.18581,
    "h": 312.8
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#9748BE
secondary
#A8CB97
accent
#D7517D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9748BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9748BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva