#7B3FD2#7B3FD2

#7B3FD2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.212 H 297.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B3FD2
RGBrgb(123, 63, 210)
HSLhsl(264, 62%, 54%)
HSVhsv(264, 70%, 82%)
CMYKcmyk(41.4%, 70%, 0%, 17.6%)
CIE-LABlab(41.87, 55.55, -66.18)
CIE-LCHlch(41.87, 86.41, 310.01°)
OKLaboklab(52.35% 0.0968 -0.1892)
OKLCHoklch(52.35% 0.212 297.1)
XYZxyz(21.5757, 12.4187, 62.2206)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FD2 #96D23F
analogous
#3F4CD2 #7B3FD2 #C43FD2
triadic
#7B3FD2 #D27B3F #3FD27B
tetradic
#7B3FD2 #D23F4C #96D23F #3FD2C4
square
#7B3FD2 #D23F4C #96D23F #3FD2C4
split-complementary
#7B3FD2 #D2C43F #4CD23F
monochromatic
#431D7A #5E28AC #7B3FD2 #9D71DE #BFA2E9

Accessibility & contrast

On white

6.03
#7B3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7B3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FD2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FD2#FFFFFF#000000##FFFFFF
##7B3FD21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#656384
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3fd2;
/* rgb */ color: rgb(123, 63, 210);
/* oklch */ color: oklch(52.4% 0.212 297.1);
Tailwind
colors: {
  custom: {
    50: '#a879e1',
    500: '#7b3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fd2;
$custom-light: #a879e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fd2",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 264.49,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.21246,
    "h": 297.1
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#7B3FD2
secondary
#BCD697
accent
#E543A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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