#7C39CB#7C39CB

#7C39CB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.212 H 299.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7C39CB
RGBrgb(124, 57, 203)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 72%, 80%)
CMYKcmyk(38.9%, 71.9%, 0%, 20.4%)
CIE-LABlab(40.45, 56.80, -64.46)
CIE-LCHlch(40.45, 85.91, 311.39°)
OKLaboklab(51.2% 0.1052 -0.184)
OKLCHoklch(51.2% 0.212 299.8)
XYZxyz(20.5521, 11.5229, 57.6297)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39CB #88CB39
analogous
#393FCB #7C39CB #C539CB
triadic
#7C39CB #CB7C39 #39CB7C
tetradic
#7C39CB #CB393F #88CB39 #39CBC5
square
#7C39CB #CB393F #88CB39 #39CBC5
split-complementary
#7C39CB #CBC539 #3FCB39
monochromatic
#411D6D #5F299D #7C39CB #9C69D8 #BC9AE4

Accessibility & contrast

On white

6.35
#7C39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7C39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39CB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39CB#FFFFFF#000000##FFFFFF
##7C39CB1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c39cb;
/* rgb */ color: rgb(124, 57, 203);
/* oklch */ color: oklch(51.2% 0.212 299.8);
Tailwind
colors: {
  custom: {
    50: '#a875dc',
    500: '#7c39cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c39cb;
$custom-light: #a875dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39cb",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 267.534,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.21195,
    "h": 299.8
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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