#7F6ED3#7F6ED3

#7F6ED3 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.1% C 0.150 H 288.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F6ED3
RGBrgb(127, 110, 211)
HSLhsl(250, 53%, 63%)
HSVhsv(250, 48%, 83%)
CMYKcmyk(39.8%, 47.9%, 0%, 17.3%)
CIE-LABlab(52.25, 30.74, -50.01)
CIE-LCHlch(52.25, 58.71, 301.58°)
OKLaboklab(60.07% 0.0482 -0.1415)
OKLCHoklch(60.07% 0.15 288.8)
XYZxyz(26.0830, 20.3662, 64.1722)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6ED3 #C2D36E
analogous
#6E8FD3 #7F6ED3 #B16ED3
triadic
#7F6ED3 #D37F6E #6ED37F
tetradic
#7F6ED3 #D36E8F #C2D36E #6ED3B1
square
#7F6ED3 #D36E8F #C2D36E #6ED3B1
split-complementary
#7F6ED3 #D3B16E #8FD36E
monochromatic
#402E98 #563FC5 #7F6ED3 #A89DE1 #D2CCEF

Accessibility & contrast

On white

4.14
#7F6ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7F6ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6ED3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6ED3#FFFFFF#000000##000000
##7F6ED31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#688296
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f6ed3;
/* rgb */ color: rgb(127, 110, 211);
/* oklch */ color: oklch(60.1% 0.150 288.8);
Tailwind
colors: {
  custom: {
    50: '#a898e1',
    500: '#7f6ed3',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ed3;
$custom-light: #a898e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ed3",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 211
  },
  "hsl": {
    "h": 250.099,
    "s": 53.439,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.14951,
    "h": 288.8
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#7F6ED3
secondary
#DAE1BC
accent
#C125A7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F6ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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