#7B50F2#7B50F2

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

Color values

HEX#7B50F2
RGBrgb(123, 80, 242)
HSLhsl(256, 86%, 63%)
HSVhsv(256, 67%, 95%)
CMYKcmyk(49.2%, 66.9%, 0%, 5.1%)
CIE-LABlab(47.44, 55.47, -75.29)
CIE-LCHlch(47.44, 93.52, 306.38°)
OKLaboklab(57.1% 0.0755 -0.216)
OKLCHoklch(57.1% 0.229 289.3)
XYZxyz(27.0594, 16.3579, 85.7188)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50F2 #C7F250
analogous
#5076F2 #7B50F2 #CC50F2
triadic
#7B50F2 #F27B50 #50F27B
tetradic
#7B50F2 #F25076 #C7F250 #50F2CC
square
#7B50F2 #F25076 #C7F250 #50F2CC
split-complementary
#7B50F2 #F2CC50 #76F250
monochromatic
#3B0EBA #5017EE #7B50F2 #A689F6 #D1C2FA

Accessibility & contrast

On white

4.92
#7B50F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B50F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50F2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50F2#FFFFFF#000000##FFFFFF
##7B50F21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b50f2;
/* rgb */ color: rgb(123, 80, 242);
/* oklch */ color: oklch(57.1% 0.229 289.3);
Tailwind
colors: {
  custom: {
    50: '#ab84f7',
    500: '#7b50f2',
    950: '#000000',
  },
}
SCSS
$custom: #7b50f2;
$custom-light: #ab84f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50f2",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 242
  },
  "hsl": {
    "h": 255.926,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.2288,
    "h": 289.3
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#7B50F2
secondary
#DDECB2
accent
#E303A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B50F2

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

Preview Lab → · Contrast checker → · Palette generator →

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