#7B39D2#7B39D2

#7B39D2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.219 H 297.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7B39D2
RGBrgb(123, 57, 210)
HSLhsl(266, 63%, 52%)
HSVhsv(266, 73%, 82%)
CMYKcmyk(41.4%, 72.9%, 0%, 17.6%)
CIE-LABlab(40.88, 58.35, -67.80)
CIE-LCHlch(40.88, 89.45, 310.71°)
OKLaboklab(51.65% 0.1023 -0.1939)
OKLCHoklch(51.65% 0.219 297.8)
XYZxyz(21.2614, 11.7900, 62.1158)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39D2 #90D239
analogous
#3944D2 #7B39D2 #C739D2
triadic
#7B39D2 #D27B39 #39D27B
tetradic
#7B39D2 #D23944 #90D239 #39D2C7
square
#7B39D2 #D23944 #90D239 #39D2C7
split-complementary
#7B39D2 #D2C739 #44D239
monochromatic
#421B76 #5E26A8 #7B39D2 #9C6BDD #BD9DE9

Accessibility & contrast

On white

6.25
#7B39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7B39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39D2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39D2#FFFFFF#000000##FFFFFF
##7B39D21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#656082
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b39d2;
/* rgb */ color: rgb(123, 57, 210);
/* oklch */ color: oklch(51.6% 0.219 297.8);
Tailwind
colors: {
  custom: {
    50: '#a875e1',
    500: '#7b39d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b39d2;
$custom-light: #a875e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39d2",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 265.882,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.21923,
    "h": 297.8
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#7B39D2
secondary
#B8D592
accent
#E6429F
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7B39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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