#7E5FCF#7E5FCF

#7E5FCF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.166 H 293.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E5FCF
RGBrgb(126, 95, 207)
HSLhsl(257, 54%, 59%)
HSVhsv(257, 54%, 81%)
CMYKcmyk(39.1%, 54.1%, 0%, 18.8%)
CIE-LABlab(48.42, 38.18, -53.87)
CIE-LCHlch(48.42, 66.03, 305.33°)
OKLaboklab(57.11% 0.0654 -0.1529)
OKLCHoklch(57.11% 0.166 293.2)
XYZxyz(23.9559, 17.1244, 61.0626)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5FCF #B0CF5F
analogous
#5F78CF #7E5FCF #B65FCF
triadic
#7E5FCF #CF7E5F #5FCF7E
tetradic
#7E5FCF #CF5F78 #B0CF5F #5FCFB6
square
#7E5FCF #CF5F78 #B0CF5F #5FCFB6
split-complementary
#7E5FCF #CFB65F #78CF5F
monochromatic
#44298A #5B38B9 #7E5FCF #A48EDD #CABDEB

Accessibility & contrast

On white

4.75
#7E5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7E5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5FCF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5FCF#FFFFFF#000000##FFFFFF
##7E5FCF1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#69768E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e5fcf;
/* rgb */ color: rgb(126, 95, 207);
/* oklch */ color: oklch(57.1% 0.166 293.2);
Tailwind
colors: {
  custom: {
    50: '#a88dde',
    500: '#7e5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7e5fcf;
$custom-light: #a88dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5fcf",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 256.607,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.1663,
    "h": 293.2
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#7E5FCF
secondary
#CFDBAF
accent
#DD4BB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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