#7B3FE2#7B3FE2

#7B3FE2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.230 H 294.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7B3FE2
RGBrgb(123, 63, 226)
HSLhsl(262, 74%, 57%)
HSVhsv(262, 72%, 89%)
CMYKcmyk(45.6%, 72.1%, 0%, 11.4%)
CIE-LABlab(43.15, 59.63, -73.27)
CIE-LCHlch(43.15, 94.46, 309.14°)
OKLaboklab(53.65% 0.0936 -0.2099)
OKLCHoklch(53.65% 0.23 294)
XYZxyz(23.6696, 13.2563, 73.2484)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FE2 #A6E23F
analogous
#3F55E2 #7B3FE2 #CD3FE2
triadic
#7B3FE2 #E27B3F #3FE27B
tetradic
#7B3FE2 #E23F55 #A6E23F #3FE2CD
square
#7B3FE2 #E23F55 #A6E23F #3FE2CD
split-complementary
#7B3FE2 #E2CD3F #55E23F
monochromatic
#431691 #5C1EC6 #7B3FE2 #A074EA #C4A9F2

Accessibility & contrast

On white

5.75
#7B3FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7B3FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FE2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FE2#FFFFFF#000000##FFFFFF
##7B3FE21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#5D6A8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b3fe2;
/* rgb */ color: rgb(123, 63, 226);
/* oklch */ color: oklch(53.6% 0.230 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa79ec',
    500: '#7b3fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fe2;
$custom-light: #aa79ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fe2",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 262.086,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.22987,
    "h": 294
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#7B3FE2
secondary
#C7E09D
accent
#F037AC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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