#7B3FCB#7B3FCB

#7B3FCB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.205 H 298.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7B3FCB
RGBrgb(123, 63, 203)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 69%, 80%)
CMYKcmyk(39.4%, 69%, 0%, 20.4%)
CIE-LABlab(41.34, 53.78, -63.01)
CIE-LCHlch(41.34, 82.84, 310.48°)
OKLaboklab(51.8% 0.0979 -0.1798)
OKLCHoklch(51.8% 0.205 298.6)
XYZxyz(20.7226, 12.0775, 57.7277)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FCB #8FCB3F
analogous
#3F49CB #7B3FCB #C13FCB
triadic
#7B3FCB #CB7B3F #3FCB7B
tetradic
#7B3FCB #CB3F49 #8FCB3F #3FCBC1
square
#7B3FCB #CB3F49 #8FCB3F #3FCBC1
split-complementary
#7B3FCB #CBC13F #49CB3F
monochromatic
#421F71 #5E2CA1 #7B3FCB #9C6FD8 #BD9FE5

Accessibility & contrast

On white

6.15
#7B3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7B3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FCB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FCB#FFFFFF#000000##FFFFFF
##7B3FCB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#686180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3fcb;
/* rgb */ color: rgb(123, 63, 203);
/* oklch */ color: oklch(51.8% 0.205 298.6);
Tailwind
colors: {
  custom: {
    50: '#a778dc',
    500: '#7b3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fcb;
$custom-light: #a778dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fcb",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 265.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.20477,
    "h": 298.6
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#7B3FCB
secondary
#B7D194
accent
#E1479F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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