#7B3CCA#7B3CCA

#7B3CCA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.207 H 299.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7B3CCA
RGBrgb(123, 60, 202)
HSLhsl(267, 57%, 51%)
HSVhsv(267, 70%, 79%)
CMYKcmyk(39.1%, 70.3%, 0%, 20.8%)
CIE-LABlab(40.75, 54.98, -63.40)
CIE-LCHlch(40.75, 83.91, 310.93°)
OKLaboklab(51.36% 0.1011 -0.1809)
OKLCHoklch(51.36% 0.207 299.2)
XYZxyz(20.4422, 11.7067, 57.0483)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CCA #8BCA3C
analogous
#3C44CA #7B3CCA #C23CCA
triadic
#7B3CCA #CA7B3C #3CCA7B
tetradic
#7B3CCA #CA3C44 #8BCA3C #3CCAC2
square
#7B3CCA #CA3C44 #8BCA3C #3CCAC2
split-complementary
#7B3CCA #CAC23C #44CA3C
monochromatic
#411E6E #5E2B9E #7B3CCA #9C6CD7 #BC9CE4

Accessibility & contrast

On white

6.28
#7B3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7B3CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CCA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CCA#FFFFFF#000000##FFFFFF
##7B3CCA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#685F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3cca;
/* rgb */ color: rgb(123, 60, 202);
/* oklch */ color: oklch(51.4% 0.207 299.2);
Tailwind
colors: {
  custom: {
    50: '#a777db',
    500: '#7b3cca',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cca;
$custom-light: #a777db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cca",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 266.62,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.20726,
    "h": 299.2
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#7B3CCA
secondary
#B4D092
accent
#E1479D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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