#9751BE#9751BE

#9751BE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.172 H 311.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9751BE
RGBrgb(151, 81, 190)
HSLhsl(279, 46%, 53%)
HSVhsv(279, 57%, 75%)
CMYKcmyk(20.5%, 57.4%, 0%, 25.5%)
CIE-LABlab(47.21, 47.88, -45.84)
CIE-LCHlch(47.21, 66.28, 316.25°)
OKLaboklab(56.53% 0.1149 -0.1286)
OKLCHoklch(56.53% 0.172 311.8)
XYZxyz(24.9975, 16.1824, 50.5119)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751BE #78BE51
analogous
#6051BE #9751BE #BE51AF
triadic
#9751BE #BE9751 #51BE97
tetradic
#9751BE #BE6051 #78BE51 #51AFBE
square
#9751BE #BE6051 #78BE51 #51AFBE
split-complementary
#9751BE #AFBE51 #51BE60
monochromatic
#54286C #773999 #9751BE #B27ECF #CCAADF

Accessibility & contrast

On white

4.96
#9751BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9751BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9751BE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751BE#FFFFFF#000000##FFFFFF
##9751BE1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC2
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#936480
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9751be;
/* rgb */ color: rgb(151, 81, 190);
/* oklch */ color: oklch(56.5% 0.172 311.8);
Tailwind
colors: {
  custom: {
    50: '#b885d2',
    500: '#9751be',
    950: '#000000',
  },
}
SCSS
$custom: #9751be;
$custom-light: #b885d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9751be",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 278.532,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.17242,
    "h": 311.8
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#9751BE
secondary
#AFCD9E
accent
#D55381
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9751BE

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

Preview Lab → · Contrast checker → · Palette generator →

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