#7F66BE#7F66BE

#7F66BE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.4% C 0.133 H 295.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7F66BE
RGBrgb(127, 102, 190)
HSLhsl(257, 40%, 57%)
HSVhsv(257, 46%, 75%)
CMYKcmyk(33.2%, 46.3%, 0%, 25.5%)
CIE-LABlab(49.17, 29.75, -42.89)
CIE-LCHlch(49.17, 52.19, 304.75°)
OKLaboklab(57.38% 0.0562 -0.1207)
OKLCHoklch(57.38% 0.133 295)
XYZxyz(22.7957, 17.7321, 50.9268)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66BE #A5BE66
analogous
#6679BE #7F66BE #AB66BE
triadic
#7F66BE #BE7F66 #66BE7F
tetradic
#7F66BE #BE6679 #A5BE66 #66BEAB
square
#7F66BE #BE6679 #A5BE66 #66BEAB
split-complementary
#7F66BE #BEAB66 #79BE66
monochromatic
#463377 #5F45A2 #7F66BE #A391D0 #C7BCE2

Accessibility & contrast

On white

4.62
#7F66BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7F66BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F66BE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66BE#FFFFFF#000000##FFFFFF
##7F66BE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C1
Deuteranopia (green-blind)
#4D74BC
Tritanopia (blue-blind)
#717789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f66be;
/* rgb */ color: rgb(127, 102, 190);
/* oklch */ color: oklch(57.4% 0.133 295.0);
Tailwind
colors: {
  custom: {
    50: '#a792d2',
    500: '#7f66be',
    950: '#000000',
  },
}
SCSS
$custom: #7f66be;
$custom-light: #a792d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66be",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 257.045,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.13311,
    "h": 295
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#7F66BE
secondary
#C8D2AE
accent
#D058AE
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #7F66BE

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

Preview Lab → · Contrast checker → · Palette generator →

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