#7B3CCF#7B3CCF

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

Color values

HEX#7B3CCF
RGBrgb(123, 60, 207)
HSLhsl(266, 60%, 52%)
HSVhsv(266, 71%, 81%)
CMYKcmyk(40.6%, 71%, 0%, 18.8%)
CIE-LABlab(41.13, 56.22, -65.66)
CIE-LCHlch(41.13, 86.44, 310.57°)
OKLaboklab(51.75% 0.1002 -0.1876)
OKLCHoklch(51.75% 0.213 298.1)
XYZxyz(21.0438, 11.9473, 60.2167)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CCF #90CF3C
analogous
#3C47CF #7B3CCF #C43CCF
triadic
#7B3CCF #CF7B3C #3CCF7B
tetradic
#7B3CCF #CF3C47 #90CF3C #3CCFC4
square
#7B3CCF #CF3C47 #90CF3C #3CCFC4
split-complementary
#7B3CCF #CFC43C #47CF3C
monochromatic
#421D74 #5E29A5 #7B3CCF #9C6DDB #BD9EE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B3CCF#FFFFFF#000000##FFFFFF
##7B3CCF1.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)
#0061D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#666182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3ccf;
/* rgb */ color: rgb(123, 60, 207);
/* oklch */ color: oklch(51.8% 0.213 298.1);
Tailwind
colors: {
  custom: {
    50: '#a877df',
    500: '#7b3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ccf;
$custom-light: #a877df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ccf",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 265.714,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.21267,
    "h": 298.1
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#7B3CCF
secondary
#B8D393
accent
#E4449F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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