#7B51DF#7B51DF

#7B51DF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.205 H 292.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B51DF
RGBrgb(123, 81, 223)
HSLhsl(258, 69%, 60%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(44.8%, 63.7%, 0%, 12.5%)
CIE-LABlab(46.21, 49.75, -66.57)
CIE-LCHlch(46.21, 83.11, 306.77°)
OKLaboklab(55.77% 0.0769 -0.1903)
OKLCHoklch(55.77% 0.205 292)
XYZxyz(24.4264, 15.4227, 71.4876)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B51DF #B5DF51
analogous
#516EDF #7B51DF #C251DF
triadic
#7B51DF #DF7B51 #51DF7B
tetradic
#7B51DF #DF516E #B5DF51 #51DFC2
square
#7B51DF #DF516E #B5DF51 #51DFC2
split-complementary
#7B51DF #DFC251 #6EDF51
monochromatic
#411C99 #5726CD #7B51DF #A285E9 #C9B8F2

Accessibility & contrast

On white

5.14
#7B51DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7B51DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B51DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B51DF#FFFFFF#000000##FFFFFF
##7B51DF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#5D7391
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b51df;
/* rgb */ color: rgb(123, 81, 223);
/* oklch */ color: oklch(55.8% 0.205 292.0);
Tailwind
colors: {
  custom: {
    50: '#a884ea',
    500: '#7b51df',
    950: '#000000',
  },
}
SCSS
$custom: #7b51df;
$custom-light: #a884ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b51df",
  "rgb": {
    "r": 123,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 257.746,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.20529,
    "h": 292
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#7B51DF
secondary
#D1E1AA
accent
#EC3CB8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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