#9751DE#9751DE

#9751DE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.207 H 303.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9751DE
RGBrgb(151, 81, 222)
HSLhsl(270, 68%, 59%)
HSVhsv(270, 64%, 87%)
CMYKcmyk(32%, 63.5%, 0%, 12.9%)
CIE-LABlab(49.18, 55.23, -61.05)
CIE-LCHlch(49.18, 82.33, 312.13°)
OKLaboklab(58.58% 0.1142 -0.1732)
OKLCHoklch(58.58% 0.207 303.4)
XYZxyz(28.8867, 17.7381, 70.9951)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751DE #98DE51
analogous
#5152DE #9751DE #DD51DE
triadic
#9751DE #DE9751 #51DE97
tetradic
#9751DE #DE5152 #98DE51 #51DEDD
square
#9751DE #DE5152 #98DE51 #51DEDD
split-complementary
#9751DE #DEDD51 #52DE51
monochromatic
#5A1D98 #7827CB #9751DE #B684E8 #D4B8F2

Accessibility & contrast

On white

4.62
#9751DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9751DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9751DE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751DE#FFFFFF#000000##FFFFFF
##9751DE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#896F90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9751de;
/* rgb */ color: rgb(151, 81, 222);
/* oklch */ color: oklch(58.6% 0.207 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba86e9',
    500: '#9751de',
    950: '#000000',
  },
}
SCSS
$custom: #9751de;
$custom-light: #ba86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9751de",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 269.787,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.20746,
    "h": 303.4
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#9751DE
secondary
#C6E1AA
accent
#EB3D95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9751DE

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

Preview Lab → · Contrast checker → · Palette generator →

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