#7F57BF#7F57BF

#7F57BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.158 H 298.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7F57BF
RGBrgb(127, 87, 191)
HSLhsl(263, 45%, 55%)
HSVhsv(263, 54%, 75%)
CMYKcmyk(33.5%, 54.5%, 0%, 25.1%)
CIE-LABlab(45.76, 38.75, -48.90)
CIE-LCHlch(45.76, 62.39, 308.39°)
OKLaboklab(54.86% 0.0762 -0.1383)
OKLCHoklch(54.86% 0.158 298.8)
XYZxyz(21.5623, 15.0898, 51.0567)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57BF #97BF57
analogous
#5763BF #7F57BF #B357BF
triadic
#7F57BF #BF7F57 #57BF7F
tetradic
#7F57BF #BF5763 #97BF57 #57BFB3
square
#7F57BF #BF5763 #97BF57 #57BFB3
split-complementary
#7F57BF #BFB357 #63BF57
monochromatic
#462B71 #613C9D #7F57BF #A183D0 #C3B0E1

Accessibility & contrast

On white

5.23
#7F57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7F57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F57BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57BF#FFFFFF#000000##FFFFFF
##7F57BF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#716C83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f57bf;
/* rgb */ color: rgb(127, 87, 191);
/* oklch */ color: oklch(54.9% 0.158 298.8);
Tailwind
colors: {
  custom: {
    50: '#a888d3',
    500: '#7f57bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f57bf;
$custom-light: #a888d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57bf",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 263.077,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.15788,
    "h": 298.8
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#7F57BF
secondary
#BECFA3
accent
#D553A3
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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