#7C61BA#7C61BA

#7C61BA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.0% C 0.135 H 295.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C61BA
RGBrgb(124, 97, 186)
HSLhsl(258, 39%, 55%)
HSVhsv(258, 48%, 73%)
CMYKcmyk(33.3%, 47.8%, 0%, 27.1%)
CIE-LABlab(47.47, 30.83, -43.29)
CIE-LCHlch(47.47, 53.15, 305.46°)
OKLaboklab(55.97% 0.0587 -0.1219)
OKLCHoklch(55.97% 0.135 295.7)
XYZxyz(21.4476, 16.3793, 48.4764)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C61BA #9FBA61
analogous
#6172BA #7C61BA #A861BA
triadic
#7C61BA #BA7C61 #61BA7C
tetradic
#7C61BA #BA6172 #9FBA61 #61BAA8
square
#7C61BA #BA6172 #9FBA61 #61BAA8
split-complementary
#7C61BA #BAA861 #72BA61
monochromatic
#443170 #5E439A #7C61BA #9F8CCD #C3B6DF

Accessibility & contrast

On white

4.91
#7C61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7C61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C61BA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C61BA#FFFFFF#000000##FFFFFF
##7C61BA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#6E7285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c61ba;
/* rgb */ color: rgb(124, 97, 186);
/* oklch */ color: oklch(56.0% 0.135 295.7);
Tailwind
colors: {
  custom: {
    50: '#a58ecf',
    500: '#7c61ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c61ba;
$custom-light: #a58ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c61ba",
  "rgb": {
    "r": 124,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 258.202,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55968,
    "c": 0.13533,
    "h": 295.7
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#7C61BA
secondary
#C3CEA9
accent
#CF59AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7C61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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