#7F61BA#7F61BA

#7F61BA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.136 H 297.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7F61BA
RGBrgb(127, 97, 186)
HSLhsl(260, 39%, 55%)
HSVhsv(260, 48%, 73%)
CMYKcmyk(31.7%, 47.8%, 0%, 27.1%)
CIE-LABlab(47.76, 31.64, -42.81)
CIE-LCHlch(47.76, 53.23, 306.47°)
OKLaboklab(56.26% 0.0625 -0.1204)
OKLCHoklch(56.26% 0.136 297.4)
XYZxyz(21.8879, 16.6063, 48.4970)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61BA #9CBA61
analogous
#616FBA #7F61BA #AC61BA
triadic
#7F61BA #BA7F61 #61BA7F
tetradic
#7F61BA #BA616F #9CBA61 #61BAAC
square
#7F61BA #BA616F #9CBA61 #61BAAC
split-complementary
#7F61BA #BAAC61 #6FBA61
monochromatic
#463170 #61439A #7F61BA #A28CCD #C4B6DF

Accessibility & contrast

On white

4.86
#7F61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7F61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F61BA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61BA#FFFFFF#000000##FFFFFF
##7F61BA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#727285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f61ba;
/* rgb */ color: rgb(127, 97, 186);
/* oklch */ color: oklch(56.3% 0.136 297.4);
Tailwind
colors: {
  custom: {
    50: '#a78ecf',
    500: '#7f61ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f61ba;
$custom-light: #a78ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61ba",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 260.225,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.13568,
    "h": 297.4
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#7F61BA
secondary
#C1CEA9
accent
#CF59A7
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7F61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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