#9751E7#9751E7

#9751E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.217 H 301.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9751E7
RGBrgb(151, 81, 231)
HSLhsl(268, 76%, 61%)
HSVhsv(268, 65%, 91%)
CMYKcmyk(34.6%, 64.9%, 0%, 9.4%)
CIE-LABlab(49.78, 57.38, -65.17)
CIE-LCHlch(49.78, 86.83, 311.36°)
OKLaboklab(59.21% 0.1134 -0.1853)
OKLCHoklch(59.21% 0.217 301.5)
XYZxyz(30.1253, 18.2336, 77.5181)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751E7 #A1E751
analogous
#5156E7 #9751E7 #E251E7
triadic
#9751E7 #E79751 #51E797
tetradic
#9751E7 #E75156 #A1E751 #51E7E2
square
#9751E7 #E75156 #A1E751 #51E7E2
split-complementary
#9751E7 #E7E251 #56E751
monochromatic
#5A17A7 #771EDC #9751E7 #B787EE #D7BDF6

Accessibility & contrast

On white

4.52
#9751E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9751E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9751E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751E7#FFFFFF#000000##000000
##9751E71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0876E4
Tritanopia (blue-blind)
#867395
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9751e7;
/* rgb */ color: rgb(151, 81, 231);
/* oklch */ color: oklch(59.2% 0.217 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb86ef',
    500: '#9751e7',
    950: '#000000',
  },
}
SCSS
$custom: #9751e7;
$custom-light: #bb86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9751e7",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 268,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.21727,
    "h": 301.5
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#9751E7
secondary
#CCE6AE
accent
#D80E79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9751E7

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

Preview Lab → · Contrast checker → · Palette generator →

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