#7B61CD#7B61CD

#7B61CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.161 H 291.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B61CD
RGBrgb(123, 97, 205)
HSLhsl(254, 52%, 59%)
HSVhsv(254, 53%, 80%)
CMYKcmyk(40%, 52.7%, 0%, 19.6%)
CIE-LABlab(48.47, 35.75, -52.65)
CIE-LCHlch(48.47, 63.64, 304.18°)
OKLaboklab(57.05% 0.0591 -0.1494)
OKLCHoklch(57.05% 0.161 291.6)
XYZxyz(23.4595, 17.1675, 59.8234)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61CD #B3CD61
analogous
#617DCD #7B61CD #B161CD
triadic
#7B61CD #CD7B61 #61CD7B
tetradic
#7B61CD #CD617D #B3CD61 #61CDB1
square
#7B61CD #CD617D #B3CD61 #61CDB1
split-complementary
#7B61CD #CDB161 #7DCD61
monochromatic
#422B88 #583AB7 #7B61CD #A28FDC #C9BEEA

Accessibility & contrast

On white

4.74
#7B61CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7B61CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B61CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61CD#FFFFFF#000000##FFFFFF
##7B61CD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#65778E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b61cd;
/* rgb */ color: rgb(123, 97, 205);
/* oklch */ color: oklch(57.0% 0.161 291.6);
Tailwind
colors: {
  custom: {
    50: '#a68edd',
    500: '#7b61cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b61cd;
$custom-light: #a68edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61cd",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 254.444,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.16065,
    "h": 291.6
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#7B61CD
secondary
#D0DAB0
accent
#DB4CB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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