#7F6CFA#7F6CFA

#7F6CFA is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.3% C 0.204 H 284.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7F6CFA
RGBrgb(127, 108, 250)
HSLhsl(248, 93%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.2%, 56.8%, 0%, 2%)
CIE-LABlab(54.17, 43.05, -68.80)
CIE-LCHlch(54.17, 81.16, 302.03°)
OKLaboklab(62.27% 0.0524 -0.1967)
OKLCHoklch(62.27% 0.204 284.9)
XYZxyz(31.3651, 22.1377, 93.0443)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CFA #E7FA6C
analogous
#6CA0FA #7F6CFA #C66CFA
triadic
#7F6CFA #FA7F6C #6CFA7F
tetradic
#7F6CFA #FA6CA0 #E7FA6C #6CFAC6
square
#7F6CFA #FA6CA0 #E7FA6C #6CFAC6
split-complementary
#7F6CFA #FAC66C #A0FA6C
monochromatic
#2508E4 #4B31F8 #7F6CFA #B3A7FC #E5E1FE

Accessibility & contrast

On white

3.87
#7F6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7F6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CFA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CFA#FFFFFF#000000##000000
##7F6CFA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#528CA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6cfa;
/* rgb */ color: rgb(127, 108, 250);
/* oklch */ color: oklch(62.3% 0.204 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac97fd',
    500: '#7f6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cfa;
$custom-light: #ac97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cfa",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 248.028,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.20359,
    "h": 284.9
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#7F6CFA
secondary
#EFF5CD
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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