#7C50DB#7C50DB

#7C50DB is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.202 H 293.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7C50DB
RGBrgb(124, 80, 219)
HSLhsl(259, 66%, 59%)
HSVhsv(259, 63%, 86%)
CMYKcmyk(43.4%, 63.5%, 0%, 14.1%)
CIE-LABlab(45.82, 49.40, -64.92)
CIE-LCHlch(45.82, 81.58, 307.27°)
OKLaboklab(55.42% 0.0797 -0.1854)
OKLCHoklch(55.42% 0.202 293.3)
XYZxyz(23.9635, 15.1362, 68.6631)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50DB #AFDB50
analogous
#5069DB #7C50DB #C150DB
triadic
#7C50DB #DB7C50 #50DB7C
tetradic
#7C50DB #DB5069 #AFDB50 #50DBC1
square
#7C50DB #DB5069 #AFDB50 #50DBC1
split-complementary
#7C50DB #DBC150 #69DB50
monochromatic
#431E92 #5A29C5 #7C50DB #A283E5 #C8B6F0

Accessibility & contrast

On white

5.21
#7C50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7C50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50DB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50DB#FFFFFF#000000##FFFFFF
##7C50DB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#61708E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c50db;
/* rgb */ color: rgb(124, 80, 219);
/* oklch */ color: oklch(55.4% 0.202 293.3);
Tailwind
colors: {
  custom: {
    50: '#a983e7',
    500: '#7c50db',
    950: '#000000',
  },
}
SCSS
$custom: #7c50db;
$custom-light: #a983e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50db",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 258.993,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.20184,
    "h": 293.3
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#7C50DB
secondary
#CDDFA8
accent
#E93FB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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