#7F6AFA#7F6AFA

#7F6AFA is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.206 H 285.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7F6AFA
RGBrgb(127, 106, 250)
HSLhsl(249, 94%, 70%)
HSVhsv(249, 58%, 98%)
CMYKcmyk(49.2%, 57.6%, 0%, 2%)
CIE-LABlab(53.73, 44.19, -69.52)
CIE-LCHlch(53.73, 82.38, 302.44°)
OKLaboklab(61.94% 0.0545 -0.1988)
OKLCHoklch(61.94% 0.206 285.3)
XYZxyz(31.1566, 21.7207, 92.9748)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6AFA #E5FA6A
analogous
#6A9DFA #7F6AFA #C76AFA
triadic
#7F6AFA #FA7F6A #6AFA7F
tetradic
#7F6AFA #FA6A9D #E5FA6A #6AFAC7
square
#7F6AFA #FA6A9D #E5FA6A #6AFAC7
split-complementary
#7F6AFA #FAC76A #9DFA6A
monochromatic
#2708E2 #4C2FF8 #7F6AFA #B2A5FC #E5E0FE

Accessibility & contrast

On white

3.93
#7F6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7F6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6AFA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6AFA#FFFFFF#000000##000000
##7F6AFA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#528BA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6afa;
/* rgb */ color: rgb(127, 106, 250);
/* oklch */ color: oklch(61.9% 0.206 285.3);
Tailwind
colors: {
  custom: {
    50: '#ac95fd',
    500: '#7f6afa',
    950: '#000000',
  },
}
SCSS
$custom: #7f6afa;
$custom-light: #ac95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6afa",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 248.75,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61943,
    "c": 0.20618,
    "h": 285.3
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#7F6AFA
secondary
#EEF4CC
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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