#7B3FC8#7B3FC8

#7B3FC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.201 H 299.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7B3FC8
RGBrgb(123, 63, 200)
HSLhsl(266, 55%, 52%)
HSVhsv(266, 69%, 78%)
CMYKcmyk(38.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(41.11, 53.03, -61.64)
CIE-LCHlch(41.11, 81.31, 310.71°)
OKLaboklab(51.57% 0.0984 -0.1758)
OKLCHoklch(51.57% 0.201 299.2)
XYZxyz(20.3686, 11.9359, 55.8631)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FC8 #8CC83F
analogous
#3F48C8 #7B3FC8 #C03FC8
triadic
#7B3FC8 #C87B3F #3FC87B
tetradic
#7B3FC8 #C83F48 #8CC83F #3FC8C0
square
#7B3FC8 #C83F48 #8CC83F #3FC8C0
split-complementary
#7B3FC8 #C8C03F #48C83F
monochromatic
#411F6D #5E2D9D #7B3FC8 #9C6FD6 #BC9EE3

Accessibility & contrast

On white

6.20
#7B3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7B3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FC8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FC8#FFFFFF#000000##FFFFFF
##7B3FC81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#69607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3fc8;
/* rgb */ color: rgb(123, 63, 200);
/* oklch */ color: oklch(51.6% 0.201 299.2);
Tailwind
colors: {
  custom: {
    50: '#a778da',
    500: '#7b3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fc8;
$custom-light: #a778da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fc8",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 266.277,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.20146,
    "h": 299.2
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#7B3FC8
secondary
#B5D093
accent
#DF499D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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