#7B55EB#7B55EB

#7B55EB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.215 H 289.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7B55EB
RGBrgb(123, 85, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 64%, 92%)
CMYKcmyk(47.7%, 63.8%, 0%, 7.8%)
CIE-LABlab(47.89, 50.89, -70.63)
CIE-LCHlch(47.89, 87.06, 305.77°)
OKLaboklab(57.26% 0.0717 -0.2023)
OKLCHoklch(57.26% 0.215 289.5)
XYZxyz(26.4080, 16.7050, 80.4141)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B55EB #C5EB55
analogous
#557AEB #7B55EB #C655EB
triadic
#7B55EB #EB7B55 #55EB7B
tetradic
#7B55EB #EB557A #C5EB55 #55EBC6
square
#7B55EB #EB557A #C5EB55 #55EBC6
split-complementary
#7B55EB #EBC655 #7AEB55
monochromatic
#3C15B1 #501EE5 #7B55EB #A68CF1 #D0C3F8

Accessibility & contrast

On white

4.84
#7B55EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7B55EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B55EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B55EB#FFFFFF#000000##FFFFFF
##7B55EB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#567998
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b55eb;
/* rgb */ color: rgb(123, 85, 235);
/* oklch */ color: oklch(57.3% 0.215 289.5);
Tailwind
colors: {
  custom: {
    50: '#a987f2',
    500: '#7b55eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b55eb;
$custom-light: #a987f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b55eb",
  "rgb": {
    "r": 123,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 255.2,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.2146,
    "h": 289.5
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#7B55EB
secondary
#DBE9B3
accent
#DB0AA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B55EB

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

Preview Lab → · Contrast checker → · Palette generator →

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