#7B61BB#7B61BB

#7B61BB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 55.9% C 0.137 H 294.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7B61BB
RGBrgb(123, 97, 187)
HSLhsl(257, 40%, 56%)
HSVhsv(257, 48%, 73%)
CMYKcmyk(34.2%, 48.1%, 0%, 26.7%)
CIE-LABlab(47.43, 30.83, -43.94)
CIE-LCHlch(47.43, 53.68, 305.06°)
OKLaboklab(55.93% 0.0576 -0.1239)
OKLCHoklch(55.93% 0.137 294.9)
XYZxyz(21.4104, 16.3478, 49.0315)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61BB #A1BB61
analogous
#6174BB #7B61BB #A861BB
triadic
#7B61BB #BB7B61 #61BB7B
tetradic
#7B61BB #BB6174 #A1BB61 #61BBA8
square
#7B61BB #BB6174 #A1BB61 #61BBA8
split-complementary
#7B61BB #BBA861 #74BB61
monochromatic
#433171 #5D439C #7B61BB #9F8CCD #C2B7E0

Accessibility & contrast

On white

4.92
#7B61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B61BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B61BB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61BB#FFFFFF#000000##FFFFFF
##7B61BB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#6C7285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b61bb;
/* rgb */ color: rgb(123, 97, 187);
/* oklch */ color: oklch(55.9% 0.137 294.9);
Tailwind
colors: {
  custom: {
    50: '#a48ed0',
    500: '#7b61bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b61bb;
$custom-light: #a48ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61bb",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 257.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.13659,
    "h": 294.9
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#7B61BB
secondary
#C4CFA9
accent
#D058AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7B61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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