#8175F6#8175F6

#8175F6 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.7% C 0.186 H 284.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8175F6
RGBrgb(129, 117, 246)
HSLhsl(246, 88%, 71%)
HSVhsv(246, 52%, 96%)
CMYKcmyk(47.6%, 52.4%, 0%, 3.5%)
CIE-LABlab(56.13, 37.09, -63.42)
CIE-LCHlch(56.13, 73.47, 300.32°)
OKLaboklab(63.68% 0.045 -0.1808)
OKLCHoklch(63.68% 0.186 284)
XYZxyz(32.0442, 24.0420, 90.1230)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175F6 #EAF675
analogous
#75A9F6 #8175F6 #C175F6
triadic
#8175F6 #F68175 #75F681
tetradic
#8175F6 #F675A9 #EAF675 #75F6C1
square
#8175F6 #F675A9 #EAF675 #75F6C1
split-complementary
#8175F6 #F6C175 #A9F675
monochromatic
#220FE2 #4D3CF2 #8175F6 #B5AEFA #E5E2FD

Accessibility & contrast

On white

3.62
#8175F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8175F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175F6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175F6#FFFFFF#000000##000000
##8175F61.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFA
Deuteranopia (green-blind)
#2A82F3
Tritanopia (blue-blind)
#5891AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8175f6;
/* rgb */ color: rgb(129, 117, 246);
/* oklch */ color: oklch(63.7% 0.186 284.0);
Tailwind
colors: {
  custom: {
    50: '#ad9dfa',
    500: '#8175f6',
    950: '#000000',
  },
}
SCSS
$custom: #8175f6;
$custom-light: #ad9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8175f6",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 246
  },
  "hsl": {
    "h": 245.581,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.18632,
    "h": 284
  },
  "luminance": 0.24044
}

Semantic roles & 50–950 ramp

primary
#8175F6
secondary
#F1F4D2
accent
#E401CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8175F6

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

Preview Lab → · Contrast checker → · Palette generator →

#8175F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva