#7F55ED#7F55ED

#7F55ED is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.217 H 290.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F55ED
RGBrgb(127, 85, 237)
HSLhsl(257, 81%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(46.4%, 64.1%, 0%, 7.1%)
CIE-LABlab(48.41, 52.18, -70.88)
CIE-LCHlch(48.41, 88.02, 306.36°)
OKLaboklab(57.78% 0.0767 -0.2029)
OKLCHoklch(57.78% 0.217 290.7)
XYZxyz(27.2826, 17.1224, 81.9718)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55ED #C3ED55
analogous
#5577ED #7F55ED #CB55ED
triadic
#7F55ED #ED7F55 #55ED7F
tetradic
#7F55ED #ED5577 #C3ED55 #55EDCB
square
#7F55ED #ED5577 #C3ED55 #55EDCB
split-complementary
#7F55ED #EDCB55 #77ED55
monochromatic
#4013B4 #551EE7 #7F55ED #A98CF3 #D2C4F9

Accessibility & contrast

On white

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

On black

4.42
#7F55ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F55ED#FFFFFF#000000##FFFFFF
##7F55ED1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#5C7A9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f55ed;
/* rgb */ color: rgb(127, 85, 237);
/* oklch */ color: oklch(57.8% 0.217 290.7);
Tailwind
colors: {
  custom: {
    50: '#ac87f4',
    500: '#7f55ed',
    950: '#000000',
  },
}
SCSS
$custom: #7f55ed;
$custom-light: #ac87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55ed",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 256.579,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.21692,
    "h": 290.7
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#7F55ED
secondary
#DBEAB4
accent
#DD08A2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F55ED

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

Preview Lab → · Contrast checker → · Palette generator →

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