#7B3CE3#7B3CE3

#7B3CE3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.234 H 294.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B3CE3
RGBrgb(123, 60, 227)
HSLhsl(263, 75%, 56%)
HSVhsv(263, 74%, 89%)
CMYKcmyk(45.8%, 73.6%, 0%, 11%)
CIE-LABlab(42.75, 61.25, -74.49)
CIE-LCHlch(42.75, 96.44, 309.43°)
OKLaboklab(53.39% 0.0959 -0.2135)
OKLCHoklch(53.39% 0.234 294.2)
XYZxyz(23.6456, 12.9880, 73.9192)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CE3 #A4E33C
analogous
#3C51E3 #7B3CE3 #CF3CE3
triadic
#7B3CE3 #E37B3C #3CE37B
tetradic
#7B3CE3 #E33C51 #A4E33C #3CE3CF
square
#7B3CE3 #E33C51 #A4E33C #3CE3CF
split-complementary
#7B3CE3 #E3CF3C #51E33C
monochromatic
#431590 #5C1CC5 #7B3CE3 #9F72EB #C3A7F2

Accessibility & contrast

On white

5.84
#7B3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B3CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CE3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CE3#FFFFFF#000000##FFFFFF
##7B3CE31.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#5C698D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b3ce3;
/* rgb */ color: rgb(123, 60, 227);
/* oklch */ color: oklch(53.4% 0.234 294.2);
Tailwind
colors: {
  custom: {
    50: '#aa78ed',
    500: '#7b3ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ce3;
$custom-light: #aa78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ce3",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 262.635,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53392,
    "c": 0.23407,
    "h": 294.2
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#7B3CE3
secondary
#C6E09B
accent
#F236AB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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