#7B3FCD#7B3FCD

#7B3FCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.207 H 298.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7B3FCD
RGBrgb(123, 63, 205)
HSLhsl(265, 59%, 53%)
HSVhsv(265, 69%, 80%)
CMYKcmyk(40%, 69.3%, 0%, 19.6%)
CIE-LABlab(41.49, 54.29, -63.92)
CIE-LCHlch(41.49, 83.86, 310.34°)
OKLaboklab(51.96% 0.0976 -0.1825)
OKLCHoklch(51.96% 0.207 298.1)
XYZxyz(20.9625, 12.1734, 58.9911)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FCD #91CD3F
analogous
#3F4ACD #7B3FCD #C23FCD
triadic
#7B3FCD #CD7B3F #3FCD7B
tetradic
#7B3FCD #CD3F4A #91CD3F #3FCDC2
square
#7B3FCD #CD3F4A #91CD3F #3FCDC2
split-complementary
#7B3FCD #CDC23F #4ACD3F
monochromatic
#421E74 #5E2BA4 #7B3FCD #9C70DA #BEA0E6

Accessibility & contrast

On white

6.11
#7B3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7B3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FCD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FCD#FFFFFF#000000##FFFFFF
##7B3FCD1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#676281
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3fcd;
/* rgb */ color: rgb(123, 63, 205);
/* oklch */ color: oklch(52.0% 0.207 298.1);
Tailwind
colors: {
  custom: {
    50: '#a879dd',
    500: '#7b3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fcd;
$custom-light: #a879dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fcd",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 265.352,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.20697,
    "h": 298.1
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#7B3FCD
secondary
#B9D395
accent
#E246A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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