#7B39CB#7B39CB

#7B39CB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.212 H 299.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7B39CB
RGBrgb(123, 57, 203)
HSLhsl(267, 58%, 51%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(39.4%, 71.9%, 0%, 20.4%)
CIE-LABlab(40.33, 56.62, -64.66)
CIE-LCHlch(40.33, 85.95, 311.21°)
OKLaboklab(51.08% 0.1038 -0.1846)
OKLCHoklch(51.08% 0.212 299.3)
XYZxyz(20.4083, 11.4488, 57.6230)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39CB #89CB39
analogous
#3940CB #7B39CB #C439CB
triadic
#7B39CB #CB7B39 #39CB7B
tetradic
#7B39CB #CB3940 #89CB39 #39CBC4
square
#7B39CB #CB3940 #89CB39 #39CBC4
split-complementary
#7B39CB #CBC439 #40CB39
monochromatic
#411D6D #5E299D #7B39CB #9B69D8 #BC9AE4

Accessibility & contrast

On white

6.38
#7B39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7B39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39CB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39CB#FFFFFF#000000##FFFFFF
##7B39CB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#685E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b39cb;
/* rgb */ color: rgb(123, 57, 203);
/* oklch */ color: oklch(51.1% 0.212 299.3);
Tailwind
colors: {
  custom: {
    50: '#a875dc',
    500: '#7b39cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b39cb;
$custom-light: #a875dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39cb",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 267.123,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.21181,
    "h": 299.3
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#7B39CB
secondary
#B3D090
accent
#E2469B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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