#7F50DB#7F50DB

#7F50DB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.202 H 294.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7F50DB
RGBrgb(127, 80, 219)
HSLhsl(260, 66%, 59%)
HSVhsv(260, 63%, 86%)
CMYKcmyk(42%, 63.5%, 0%, 14.1%)
CIE-LABlab(46.13, 50.00, -64.41)
CIE-LCHlch(46.13, 81.54, 307.82°)
OKLaboklab(55.71% 0.0837 -0.1839)
OKLCHoklch(55.71% 0.202 294.5)
XYZxyz(24.4038, 15.3632, 68.6837)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50DB #ACDB50
analogous
#5066DB #7F50DB #C550DB
triadic
#7F50DB #DB7F50 #50DB7F
tetradic
#7F50DB #DB5066 #ACDB50 #50DBC5
square
#7F50DB #DB5066 #ACDB50 #50DBC5
split-complementary
#7F50DB #DBC550 #66DB50
monochromatic
#451E92 #5E29C5 #7F50DB #A483E5 #C9B6F0

Accessibility & contrast

On white

5.16
#7F50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7F50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50DB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50DB#FFFFFF#000000##FFFFFF
##7F50DB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#66708E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f50db;
/* rgb */ color: rgb(127, 80, 219);
/* oklch */ color: oklch(55.7% 0.202 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa84e7',
    500: '#7f50db',
    950: '#000000',
  },
}
SCSS
$custom: #7f50db;
$custom-light: #aa84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50db",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 260.288,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.20201,
    "h": 294.5
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#7F50DB
secondary
#CCDFA8
accent
#E93FAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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