#7F61DC#7F61DC

#7F61DC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.180 H 291.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F61DC
RGBrgb(127, 97, 220)
HSLhsl(255, 64%, 62%)
HSVhsv(255, 56%, 86%)
CMYKcmyk(42.3%, 55.9%, 0%, 13.7%)
CIE-LABlab(49.77, 40.84, -59.09)
CIE-LCHlch(49.77, 71.83, 304.65°)
OKLaboklab(58.4% 0.0646 -0.1682)
OKLCHoklch(58.4% 0.18 291)
XYZxyz(25.9418, 18.2279, 69.8478)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61DC #BEDC61
analogous
#6181DC #7F61DC #BD61DC
triadic
#7F61DC #DC7F61 #61DC7F
tetradic
#7F61DC #DC6181 #BEDC61 #61DCBD
square
#7F61DC #DC6181 #BEDC61 #61DCBD
split-complementary
#7F61DC #DCBD61 #81DC61
monochromatic
#42239F #562FD1 #7F61DC #A893E7 #D0C5F2

Accessibility & contrast

On white

4.52
#7F61DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7F61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61DC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61DC#FFFFFF#000000##000000
##7F61DC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#657C95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f61dc;
/* rgb */ color: rgb(127, 97, 220);
/* oklch */ color: oklch(58.4% 0.180 291.0);
Tailwind
colors: {
  custom: {
    50: '#aa8fe8',
    500: '#7f61dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f61dc;
$custom-light: #aa8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61dc",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 254.634,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.18018,
    "h": 291
  },
  "luminance": 0.18229
}

Semantic roles & 50–950 ramp

primary
#7F61DC
secondary
#D8E3B6
accent
#CC1AA0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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