#7B55EA#7B55EA

#7B55EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.213 H 289.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B55EA
RGBrgb(123, 85, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 64%, 92%)
CMYKcmyk(47.4%, 63.7%, 0%, 8.2%)
CIE-LABlab(47.81, 50.61, -70.19)
CIE-LCHlch(47.81, 86.54, 305.80°)
OKLaboklab(57.18% 0.0718 -0.201)
OKLCHoklch(57.18% 0.213 289.6)
XYZxyz(26.2639, 16.6474, 79.6554)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B55EA #C4EA55
analogous
#557AEA #7B55EA #C555EA
triadic
#7B55EA #EA7B55 #55EA7B
tetradic
#7B55EA #EA557A #C4EA55 #55EAC5
square
#7B55EA #EA557A #C4EA55 #55EAC5
split-complementary
#7B55EA #EAC555 #7AEA55
monochromatic
#3D16AF #511FE3 #7B55EA #A58BF1 #D0C2F7

Accessibility & contrast

On white

4.85
#7B55EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7B55EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B55EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B55EA#FFFFFF#000000##FFFFFF
##7B55EA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#577998
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b55ea;
/* rgb */ color: rgb(123, 85, 234);
/* oklch */ color: oklch(57.2% 0.213 289.6);
Tailwind
colors: {
  custom: {
    50: '#a987f2',
    500: '#7b55ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b55ea;
$custom-light: #a987f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b55ea",
  "rgb": {
    "r": 123,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 255.302,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.21341,
    "h": 289.6
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#7B55EA
secondary
#DBE8B2
accent
#DA0BA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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