#7F6BCA#7F6BCA

#7F6BCA is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.0% C 0.142 H 291.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7F6BCA
RGBrgb(127, 107, 202)
HSLhsl(253, 47%, 61%)
HSVhsv(253, 47%, 79%)
CMYKcmyk(37.1%, 47%, 0%, 20.8%)
CIE-LABlab(51.03, 30.03, -46.83)
CIE-LCHlch(51.03, 55.63, 302.67°)
OKLaboklab(58.99% 0.051 -0.1322)
OKLCHoklch(58.99% 0.142 291.1)
XYZxyz(24.6679, 19.2911, 58.2895)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6BCA #B6CA6B
analogous
#6B86CA #7F6BCA #AF6BCA
triadic
#7F6BCA #CA7F6B #6BCA7F
tetradic
#7F6BCA #CA6B86 #B6CA6B #6BCAAF
square
#7F6BCA #CA6B86 #B6CA6B #6BCAAF
split-complementary
#7F6BCA #CAAF6B #86CA6B
monochromatic
#443189 #5A41B6 #7F6BCA #A698DA #CDC5EA

Accessibility & contrast

On white

4.32
#7F6BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7F6BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6BCA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6BCA#FFFFFF#000000##000000
##7F6BCA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#6C7E91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f6bca;
/* rgb */ color: rgb(127, 107, 202);
/* oklch */ color: oklch(59.0% 0.142 291.1);
Tailwind
colors: {
  custom: {
    50: '#a795da',
    500: '#7f6bca',
    950: '#000000',
  },
}
SCSS
$custom: #7f6bca;
$custom-light: #a795da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6bca",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 252.632,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.14173,
    "h": 291.1
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#7F6BCA
secondary
#D3DAB6
accent
#BB2B9C
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F6BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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