#7F6ECA#7F6ECA

#7F6ECA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.5% C 0.137 H 290.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7F6ECA
RGBrgb(127, 110, 202)
HSLhsl(251, 46%, 61%)
HSVhsv(251, 46%, 79%)
CMYKcmyk(37.1%, 45.5%, 0%, 20.8%)
CIE-LABlab(51.76, 28.25, -45.67)
CIE-LCHlch(51.76, 53.71, 301.74°)
OKLaboklab(59.54% 0.0471 -0.1288)
OKLCHoklch(59.54% 0.137 290.1)
XYZxyz(24.9861, 19.9275, 58.3956)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6ECA #B9CA6E
analogous
#6E8BCA #7F6ECA #AD6ECA
triadic
#7F6ECA #CA7F6E #6ECA7F
tetradic
#7F6ECA #CA6E8B #B9CA6E #6ECAAD
square
#7F6ECA #CA6E8B #B9CA6E #6ECAAD
split-complementary
#7F6ECA #CAAD6E #8BCA6E
monochromatic
#43338B #5943B8 #7F6ECA #A79BDA #CEC8EB

Accessibility & contrast

On white

4.21
#7F6ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7F6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6ECA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6ECA#FFFFFF#000000##000000
##7F6ECA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#4F79C8
Tritanopia (blue-blind)
#6C8092
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f6eca;
/* rgb */ color: rgb(127, 110, 202);
/* oklch */ color: oklch(59.5% 0.137 290.1);
Tailwind
colors: {
  custom: {
    50: '#a797da',
    500: '#7f6eca',
    950: '#000000',
  },
}
SCSS
$custom: #7f6eca;
$custom-light: #a797da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6eca",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 251.087,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.13716,
    "h": 290.1
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#7F6ECA
secondary
#D5DBB9
accent
#BA2C9F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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