#7B39DA#7B39DA

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

Color values

HEX#7B39DA
RGBrgb(123, 57, 218)
HSLhsl(265, 69%, 54%)
HSVhsv(265, 74%, 85%)
CMYKcmyk(43.6%, 73.9%, 0%, 14.5%)
CIE-LABlab(41.53, 60.33, -71.34)
CIE-LCHlch(41.53, 93.43, 310.22°)
OKLaboklab(52.31% 0.1005 -0.2043)
OKLCHoklch(52.31% 0.228 296.2)
XYZxyz(22.2830, 12.1987, 67.4966)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39DA #98DA39
analogous
#3948DA #7B39DA #CC39DA
triadic
#7B39DA #DA7B39 #39DA7B
tetradic
#7B39DA #DA3948 #98DA39 #39DACC
square
#7B39DA #DA3948 #98DA39 #39DACC
split-complementary
#7B39DA #DACC39 #48DA39
monochromatic
#431881 #5E22B4 #7B39DA #9D6DE4 #C0A0ED

Accessibility & contrast

On white

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

On black

3.44
#7B39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B39DA#FFFFFF#000000##FFFFFF
##7B39DA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#616387
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b39da;
/* rgb */ color: rgb(123, 57, 218);
/* oklch */ color: oklch(52.3% 0.228 296.2);
Tailwind
colors: {
  custom: {
    50: '#a976e7',
    500: '#7b39da',
    950: '#000000',
  },
}
SCSS
$custom: #7b39da;
$custom-light: #a976e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39da",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 264.596,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.22766,
    "h": 296.2
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#7B39DA
secondary
#BEDA95
accent
#EB3CA4
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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