#7F66BF#7F66BF

#7F66BF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.4% C 0.134 H 294.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F66BF
RGBrgb(127, 102, 191)
HSLhsl(257, 41%, 57%)
HSVhsv(257, 47%, 75%)
CMYKcmyk(33.5%, 46.6%, 0%, 25.1%)
CIE-LABlab(49.22, 30.02, -43.38)
CIE-LCHlch(49.22, 52.75, 304.68°)
OKLaboklab(57.44% 0.0563 -0.1221)
OKLCHoklch(57.44% 0.134 294.7)
XYZxyz(22.9054, 17.7760, 51.5044)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66BF #A6BF66
analogous
#6679BF #7F66BF #AC66BF
triadic
#7F66BF #BF7F66 #66BF7F
tetradic
#7F66BF #BF6679 #A6BF66 #66BFAC
square
#7F66BF #BF6679 #A6BF66 #66BFAC
split-complementary
#7F66BF #BFAC66 #79BF66
monochromatic
#463278 #5F44A3 #7F66BF #A391D1 #C7BCE3

Accessibility & contrast

On white

4.61
#7F66BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7F66BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F66BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66BF#FFFFFF#000000##FFFFFF
##7F66BF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#707789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f66bf;
/* rgb */ color: rgb(127, 102, 191);
/* oklch */ color: oklch(57.4% 0.134 294.7);
Tailwind
colors: {
  custom: {
    50: '#a792d3',
    500: '#7f66bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f66bf;
$custom-light: #a792d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66bf",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 256.854,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.13447,
    "h": 294.7
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#7F66BF
secondary
#C8D2AE
accent
#D157AF
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7F66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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