#7B57F3#7B57F3

#7B57F3 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.2% C 0.222 H 288.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B57F3
RGBrgb(123, 87, 243)
HSLhsl(254, 87%, 65%)
HSVhsv(254, 64%, 95%)
CMYKcmyk(49.4%, 64.2%, 0%, 4.7%)
CIE-LABlab(48.88, 52.04, -73.51)
CIE-LCHlch(48.88, 90.06, 305.30°)
OKLaboklab(58.16% 0.0689 -0.2107)
OKLCHoklch(58.16% 0.222 288.1)
XYZxyz(27.7495, 17.4972, 86.6918)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57F3 #CFF357
analogous
#5781F3 #7B57F3 #C957F3
triadic
#7B57F3 #F37B57 #57F37B
tetradic
#7B57F3 #F35781 #CFF357 #57F3C9
square
#7B57F3 #F35781 #CFF357 #57F3C9
split-complementary
#7B57F3 #F3C957 #81F357
monochromatic
#370EC2 #4E1EEF #7B57F3 #A890F7 #D5C9FB

Accessibility & contrast

On white

4.67
#7B57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7B57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57F3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57F3#FFFFFF#000000##FFFFFF
##7B57F31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#507D9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b57f3;
/* rgb */ color: rgb(123, 87, 243);
/* oklch */ color: oklch(58.2% 0.222 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa88f8',
    500: '#7b57f3',
    950: '#000000',
  },
}
SCSS
$custom: #7b57f3;
$custom-light: #aa88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57f3",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 253.846,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.2217,
    "h": 288.1
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#7B57F3
secondary
#E1EEB8
accent
#E302AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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