#7B57FB#7B57FB

#7B57FB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.231 H 287.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B57FB
RGBrgb(123, 87, 251)
HSLhsl(253, 95%, 66%)
HSVhsv(253, 65%, 98%)
CMYKcmyk(51%, 65.3%, 0%, 1.6%)
CIE-LABlab(49.49, 54.28, -76.99)
CIE-LCHlch(49.49, 94.20, 305.19°)
OKLaboklab(58.79% 0.0679 -0.2209)
OKLCHoklch(58.79% 0.231 287.1)
XYZxyz(28.9840, 17.9910, 93.1935)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57FB #D7FB57
analogous
#5785FB #7B57FB #CD57FB
triadic
#7B57FB #FB7B57 #57FB7B
tetradic
#7B57FB #FB5785 #D7FB57 #57FBCD
square
#7B57FB #FB5785 #D7FB57 #57FBCD
split-complementary
#7B57FB #FBCD57 #85FB57
monochromatic
#3205D3 #4C1BFA #7B57FB #AA93FC #D9CFFE

Accessibility & contrast

On white

4.57
#7B57FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B57FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B57FB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57FB#FFFFFF#000000##000000
##7B57FB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071F8
Tritanopia (blue-blind)
#4A80A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b57fb;
/* rgb */ color: rgb(123, 87, 251);
/* oklch */ color: oklch(58.8% 0.231 287.1);
Tailwind
colors: {
  custom: {
    50: '#ab89fe',
    500: '#7b57fb',
    950: '#000000',
  },
}
SCSS
$custom: #7b57fb;
$custom-light: #ab89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57fb",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 253.171,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.23115,
    "h": 287.1
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#7B57FB
secondary
#E6F2BC
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B57FB

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

Preview Lab → · Contrast checker → · Palette generator →

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