#7C50F2#7C50F2

#7C50F2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.229 H 289.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7C50F2
RGBrgb(124, 80, 242)
HSLhsl(256, 86%, 63%)
HSVhsv(256, 67%, 95%)
CMYKcmyk(48.8%, 66.9%, 0%, 5.1%)
CIE-LABlab(47.54, 55.64, -75.13)
CIE-LCHlch(47.54, 93.49, 306.52°)
OKLaboklab(57.19% 0.0769 -0.2155)
OKLCHoklch(57.19% 0.229 289.6)
XYZxyz(27.2032, 16.4321, 85.7255)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50F2 #C6F250
analogous
#5075F2 #7C50F2 #CD50F2
triadic
#7C50F2 #F27C50 #50F27C
tetradic
#7C50F2 #F25075 #C6F250 #50F2CD
square
#7C50F2 #F25075 #C6F250 #50F2CD
split-complementary
#7C50F2 #F2CD50 #75F250
monochromatic
#3D0EBA #5117EE #7C50F2 #A789F6 #D1C2FA

Accessibility & contrast

On white

4.90
#7C50F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7C50F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50F2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50F2#FFFFFF#000000##FFFFFF
##7C50F21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#54799B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c50f2;
/* rgb */ color: rgb(124, 80, 242);
/* oklch */ color: oklch(57.2% 0.229 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab84f7',
    500: '#7c50f2',
    950: '#000000',
  },
}
SCSS
$custom: #7c50f2;
$custom-light: #ab84f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50f2",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 242
  },
  "hsl": {
    "h": 256.296,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.22877,
    "h": 289.6
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#7C50F2
secondary
#DCECB2
accent
#E303A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C50F2

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

Preview Lab → · Contrast checker → · Palette generator →

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