#7B61EA#7B61EA

#7B61EA is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.198 H 287.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B61EA
RGBrgb(123, 97, 234)
HSLhsl(251, 77%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(47.4%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.33, 43.93, -66.10)
CIE-LCHlch(50.33, 79.37, 303.61°)
OKLaboklab(59.02% 0.0594 -0.1889)
OKLCHoklch(59.02% 0.198 287.4)
XYZxyz(27.2900, 18.6997, 79.9974)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61EA #D0EA61
analogous
#618BEA #7B61EA #C061EA
triadic
#7B61EA #EA7B61 #61EA7B
tetradic
#7B61EA #EA618B #D0EA61 #61EAC0
square
#7B61EA #EA618B #D0EA61 #61EAC0
split-complementary
#7B61EA #EAC061 #8BEA61
monochromatic
#3718B8 #4E2BE3 #7B61EA #A897F1 #D5CDF8

Accessibility & contrast

On white

4.43
#7B61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B61EA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61EA#FFFFFF#000000##000000
##7B61EA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#56809C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b61ea;
/* rgb */ color: rgb(123, 97, 234);
/* oklch */ color: oklch(59.0% 0.198 287.4);
Tailwind
colors: {
  custom: {
    50: '#a98ff2',
    500: '#7b61ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b61ea;
$custom-light: #a98ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61ea",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 251.387,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.19804,
    "h": 287.4
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#7B61EA
secondary
#E2EBBC
accent
#D90DB2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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