#8751F2#8751F2

#8751F2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.228 H 293.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8751F2
RGBrgb(135, 81, 242)
HSLhsl(260, 86%, 63%)
HSVhsv(260, 67%, 95%)
CMYKcmyk(44.2%, 66.5%, 0%, 5.1%)
CIE-LABlab(48.82, 57.06, -73.00)
CIE-LCHlch(48.82, 92.65, 308.01°)
OKLaboklab(58.37% 0.0907 -0.2088)
OKLCHoklch(58.37% 0.228 293.5)
XYZxyz(28.9567, 17.4457, 85.8289)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751F2 #BCF251
analogous
#516BF2 #8751F2 #D751F2
triadic
#8751F2 #F28751 #51F287
tetradic
#8751F2 #F2516B #BCF251 #51F2D7
square
#8751F2 #F2516B #BCF251 #51F2D7
split-complementary
#8751F2 #F2D751 #6BF251
monochromatic
#480EBB #6018EE #8751F2 #AE8AF6 #D6C3FB

Accessibility & contrast

On white

4.68
#8751F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8751F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751F2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751F2#FFFFFF#000000##FFFFFF
##8751F21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#68789B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8751f2;
/* rgb */ color: rgb(135, 81, 242);
/* oklch */ color: oklch(58.4% 0.228 293.5);
Tailwind
colors: {
  custom: {
    50: '#b285f7',
    500: '#8751f2',
    950: '#000000',
  },
}
SCSS
$custom: #8751f2;
$custom-light: #b285f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8751f2",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 260.124,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.22771,
    "h": 293.5
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#8751F2
secondary
#D9ECB3
accent
#E30398
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8751F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8751F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva