#8F7FF7#8F7FF7

#8F7FF7 is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.173 H 286.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8F7FF7
RGBrgb(143, 127, 247)
HSLhsl(248, 88%, 73%)
HSVhsv(248, 49%, 97%)
CMYKcmyk(42.1%, 48.6%, 0%, 3.1%)
CIE-LABlab(59.65, 34.70, -58.27)
CIE-LCHlch(59.65, 67.82, 300.77°)
OKLaboklab(66.61% 0.05 -0.1653)
OKLCHoklch(66.61% 0.173 286.8)
XYZxyz(35.7008, 27.7324, 91.4495)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7FF7 #E7F77F
analogous
#7FABF7 #8F7FF7 #CB7FF7
triadic
#8F7FF7 #F78F7F #7FF78F
tetradic
#8F7FF7 #F77FAB #E7F77F #7FF7CB
square
#8F7FF7 #F77FAB #E7F77F #7FF7CB
split-complementary
#8F7FF7 #F7CB7F #ABF77F
monochromatic
#2C0FED #5D45F3 #8F7FF7 #C1B9FB #E6E2FD

Accessibility & contrast

On white

3.21
#8F7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8F7FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7FF7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7FF7#FFFFFF#000000##000000
##8F7FF71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#7098AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f7ff7;
/* rgb */ color: rgb(143, 127, 247);
/* oklch */ color: oklch(66.6% 0.173 286.8);
Tailwind
colors: {
  custom: {
    50: '#b5a4fa',
    500: '#8f7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ff7;
$custom-light: #b5a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ff7",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 248,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.17268,
    "h": 286.8
  },
  "luminance": 0.27734
}

Semantic roles & 50–950 ramp

primary
#8F7FF7
secondary
#F1F5D6
accent
#E501C6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #8F7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

#8F7FF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva