#7B57EA#7B57EA

#7B57EA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.211 H 289.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B57EA
RGBrgb(123, 87, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(48.22, 49.53, -69.53)
CIE-LCHlch(48.22, 85.37, 305.46°)
OKLaboklab(57.48% 0.0698 -0.199)
OKLCHoklch(57.48% 0.211 289.3)
XYZxyz(26.4236, 16.9668, 79.7086)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57EA #C6EA57
analogous
#577CEA #7B57EA #C557EA
triadic
#7B57EA #EA7B57 #57EA7B
tetradic
#7B57EA #EA577C #C6EA57 #57EAC5
square
#7B57EA #EA577C #C6EA57 #57EAC5
split-complementary
#7B57EA #EAC557 #7CEA57
monochromatic
#3C16B1 #5021E3 #7B57EA #A68DF1 #D0C4F8

Accessibility & contrast

On white

4.78
#7B57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7B57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57EA#FFFFFF#000000##FFFFFF
##7B57EA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#577A99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b57ea;
/* rgb */ color: rgb(123, 87, 234);
/* oklch */ color: oklch(57.5% 0.211 289.3);
Tailwind
colors: {
  custom: {
    50: '#a988f2',
    500: '#7b57ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b57ea;
$custom-light: #a988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57ea",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 254.694,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.21091,
    "h": 289.3
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#7B57EA
secondary
#DCE9B4
accent
#DA0BA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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