#7F6CE2#7F6CE2

#7F6CE2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.7% C 0.173 H 287.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7F6CE2
RGBrgb(127, 108, 226)
HSLhsl(250, 67%, 65%)
HSVhsv(250, 52%, 89%)
CMYKcmyk(43.8%, 52.2%, 0%, 11.4%)
CIE-LABlab(52.65, 36.15, -57.85)
CIE-LCHlch(52.65, 68.22, 302.00°)
OKLaboklab(60.65% 0.0519 -0.1645)
OKLCHoklch(60.65% 0.173 287.5)
XYZxyz(27.8385, 20.7271, 74.4707)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CE2 #CFE26C
analogous
#6C94E2 #7F6CE2 #BA6CE2
triadic
#7F6CE2 #E27F6C #6CE27F
tetradic
#7F6CE2 #E26C94 #CFE26C #6CE2BA
square
#7F6CE2 #E26C94 #CFE26C #6CE2BA
split-complementary
#7F6CE2 #E2BA6C #94E26C
monochromatic
#3A23B1 #5239D8 #7F6CE2 #AC9FEC #D8D2F6

Accessibility & contrast

On white

4.08
#7F6CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7F6CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CE2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CE2#FFFFFF#000000##000000
##7F6CE21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E6
Deuteranopia (green-blind)
#337BDF
Tritanopia (blue-blind)
#61859D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f6ce2;
/* rgb */ color: rgb(127, 108, 226);
/* oklch */ color: oklch(60.7% 0.173 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa96ec',
    500: '#7f6ce2',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ce2;
$custom-light: #aa96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ce2",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 249.661,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60653,
    "c": 0.17252,
    "h": 287.5
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#7F6CE2
secondary
#E2E9C1
accent
#CF17B1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F6CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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