#7B51EE#7B51EE

#7B51EE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.223 H 289.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B51EE
RGBrgb(123, 81, 238)
HSLhsl(256, 82%, 63%)
HSVhsv(256, 66%, 93%)
CMYKcmyk(48.3%, 66%, 0%, 6.7%)
CIE-LABlab(47.32, 53.85, -73.24)
CIE-LCHlch(47.32, 90.91, 306.33°)
OKLaboklab(56.92% 0.0752 -0.2099)
OKLCHoklch(56.92% 0.223 289.7)
XYZxyz(26.5390, 16.2678, 82.6140)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B51EE #C4EE51
analogous
#5175EE #7B51EE #CA51EE
triadic
#7B51EE #EE7B51 #51EE7B
tetradic
#7B51EE #EE5175 #C4EE51 #51EECA
square
#7B51EE #EE5175 #C4EE51 #51EECA
split-complementary
#7B51EE #EECA51 #75EE51
monochromatic
#3D11B3 #5119E9 #7B51EE #A589F3 #D0C1F9

Accessibility & contrast

On white

4.94
#7B51EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7B51EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B51EE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B51EE#FFFFFF#000000##FFFFFF
##7B51EE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#547899
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b51ee;
/* rgb */ color: rgb(123, 81, 238);
/* oklch */ color: oklch(56.9% 0.223 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa84f5',
    500: '#7b51ee',
    950: '#000000',
  },
}
SCSS
$custom: #7b51ee;
$custom-light: #aa84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b51ee",
  "rgb": {
    "r": 123,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 256.051,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.22298,
    "h": 289.7
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#7B51EE
secondary
#DBEAB1
accent
#DF07A5
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B51EE

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

Preview Lab → · Contrast checker → · Palette generator →

#7B51EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva