#7F6BD2#7F6BD2

#7F6BD2 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.5% C 0.153 H 289.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7F6BD2
RGBrgb(127, 107, 210)
HSLhsl(252, 53%, 62%)
HSVhsv(252, 49%, 82%)
CMYKcmyk(39.5%, 49%, 0%, 17.6%)
CIE-LABlab(51.47, 32.24, -50.68)
CIE-LCHlch(51.47, 60.07, 302.46°)
OKLaboklab(59.47% 0.0519 -0.1435)
OKLCHoklch(59.47% 0.153 289.9)
XYZxyz(25.6398, 19.6798, 63.4079)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6BD2 #BED26B
analogous
#6B8BD2 #7F6BD2 #B26BD2
triadic
#7F6BD2 #D27F6B #6BD27F
tetradic
#7F6BD2 #D26B8B #BED26B #6BD2B2
square
#7F6BD2 #D26B8B #BED26B #6BD2B2
split-complementary
#7F6BD2 #D2B26B #8BD26B
monochromatic
#422D95 #563CC4 #7F6BD2 #A89AE0 #D0C9EF

Accessibility & contrast

On white

4.25
#7F6BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7F6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6BD2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6BD2#FFFFFF#000000##000000
##7F6BD21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#4478D0
Tritanopia (blue-blind)
#698095
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f6bd2;
/* rgb */ color: rgb(127, 107, 210);
/* oklch */ color: oklch(59.5% 0.153 289.9);
Tailwind
colors: {
  custom: {
    50: '#a895e0',
    500: '#7f6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7f6bd2;
$custom-light: #a895e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6bd2",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 251.65,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.15259,
    "h": 289.9
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#7F6BD2
secondary
#D8DFB9
accent
#C125A3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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