#7B39CA#7B39CA

#7B39CA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.211 H 299.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7B39CA
RGBrgb(123, 57, 202)
HSLhsl(267, 58%, 51%)
HSVhsv(267, 72%, 79%)
CMYKcmyk(39.1%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.25, 56.37, -64.21)
CIE-LCHlch(40.25, 85.44, 311.28°)
OKLaboklab(51% 0.104 -0.1833)
OKLCHoklch(51% 0.211 299.6)
XYZxyz(20.2895, 11.4012, 56.9974)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39CA #88CA39
analogous
#393FCA #7B39CA #C339CA
triadic
#7B39CA #CA7B39 #39CA7B
tetradic
#7B39CA #CA393F #88CA39 #39CAC3
square
#7B39CA #CA393F #88CA39 #39CAC3
split-complementary
#7B39CA #CAC339 #3FCA39
monochromatic
#411D6C #5E2A9C #7B39CA #9B69D7 #BB9AE4

Accessibility & contrast

On white

6.40
#7B39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39CA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39CA#FFFFFF#000000##FFFFFF
##7B39CA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#695D7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b39ca;
/* rgb */ color: rgb(123, 57, 202);
/* oklch */ color: oklch(51.0% 0.211 299.6);
Tailwind
colors: {
  custom: {
    50: '#a875db',
    500: '#7b39ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b39ca;
$custom-light: #a875db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39ca",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 267.31,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.21075,
    "h": 299.6
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#7B39CA
secondary
#B2D08F
accent
#E1479B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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