#7C3FCB#7C3FCB

#7C3FCB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.205 H 299.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7C3FCB
RGBrgb(124, 63, 203)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 69%, 80%)
CMYKcmyk(38.9%, 69%, 0%, 20.4%)
CIE-LABlab(41.46, 53.97, -62.82)
CIE-LCHlch(41.46, 82.82, 310.67°)
OKLaboklab(51.91% 0.0993 -0.1792)
OKLCHoklch(51.91% 0.205 299)
XYZxyz(20.8665, 12.1516, 57.7345)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FCB #8ECB3F
analogous
#3F48CB #7C3FCB #C23FCB
triadic
#7C3FCB #CB7C3F #3FCB7C
tetradic
#7C3FCB #CB3F48 #8ECB3F #3FCBC2
square
#7C3FCB #CB3F48 #8ECB3F #3FCBC2
split-complementary
#7C3FCB #CBC23F #48CB3F
monochromatic
#431F71 #5F2CA1 #7C3FCB #9D6FD8 #BE9FE5

Accessibility & contrast

On white

6.12
#7C3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7C3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FCB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FCB#FFFFFF#000000##FFFFFF
##7C3FCB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#696180
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3fcb;
/* rgb */ color: rgb(124, 63, 203);
/* oklch */ color: oklch(51.9% 0.205 299.0);
Tailwind
colors: {
  custom: {
    50: '#a879dc',
    500: '#7c3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fcb;
$custom-light: #a879dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fcb",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 266.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.20491,
    "h": 299
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#7C3FCB
secondary
#B7D194
accent
#E1479E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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