#7B61EF#7B61EF

#7B61EF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.4% C 0.204 H 286.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7B61EF
RGBrgb(123, 97, 239)
HSLhsl(251, 82%, 66%)
HSVhsv(251, 59%, 94%)
CMYKcmyk(48.5%, 59.4%, 0%, 6.3%)
CIE-LABlab(50.68, 45.37, -68.35)
CIE-LCHlch(50.68, 82.03, 303.57°)
OKLaboklab(59.38% 0.0592 -0.1955)
OKLCHoklch(59.38% 0.204 286.8)
XYZxyz(28.0185, 18.9911, 83.8339)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61EF #D5EF61
analogous
#618EEF #7B61EF #C261EF
triadic
#7B61EF #EF7B61 #61EF7B
tetradic
#7B61EF #EF618E #D5EF61 #61EFC2
square
#7B61EF #EF618E #D5EF61 #61EFC2
split-complementary
#7B61EF #EFC261 #8EEF61
monochromatic
#3414C2 #4D29E9 #7B61EF #A999F5 #D8D0FA

Accessibility & contrast

On white

4.38
#7B61EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7B61EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B61EF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61EF#FFFFFF#000000##000000
##7B61EF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#52829F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b61ef;
/* rgb */ color: rgb(123, 97, 239);
/* oklch */ color: oklch(59.4% 0.204 286.8);
Tailwind
colors: {
  custom: {
    50: '#a98ff5',
    500: '#7b61ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b61ef;
$custom-light: #a98ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61ef",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 250.986,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.20431,
    "h": 286.8
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#7B61EF
secondary
#E5EDBE
accent
#DE08B7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B61EF

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

Preview Lab → · Contrast checker → · Palette generator →

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