#8175F5#8175F5

#8175F5 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.6% C 0.185 H 284.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8175F5
RGBrgb(129, 117, 245)
HSLhsl(246, 86%, 71%)
HSVhsv(246, 52%, 96%)
CMYKcmyk(47.3%, 52.2%, 0%, 3.9%)
CIE-LABlab(56.07, 36.80, -62.97)
CIE-LCHlch(56.07, 72.93, 300.30°)
OKLaboklab(63.61% 0.045 -0.1795)
OKLCHoklch(63.61% 0.185 284.1)
XYZxyz(31.8911, 23.9807, 89.3169)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175F5 #E9F575
analogous
#75A9F5 #8175F5 #C175F5
triadic
#8175F5 #F58175 #75F581
tetradic
#8175F5 #F575A9 #E9F575 #75F5C1
square
#8175F5 #F575A9 #E9F575 #75F5C1
split-complementary
#8175F5 #F5C175 #A9F575
monochromatic
#2410DF #4D3CF1 #8175F5 #B5AEF9 #E5E2FD

Accessibility & contrast

On white

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

On black

5.80
#8175F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175F5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175F5#FFFFFF#000000##000000
##8175F51.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF9
Deuteranopia (green-blind)
#2C82F2
Tritanopia (blue-blind)
#5891AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8175f5;
/* rgb */ color: rgb(129, 117, 245);
/* oklch */ color: oklch(63.6% 0.185 284.1);
Tailwind
colors: {
  custom: {
    50: '#ac9df9',
    500: '#8175f5',
    950: '#000000',
  },
}
SCSS
$custom: #8175f5;
$custom-light: #ac9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#8175f5",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 245.625,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.18501,
    "h": 284.1
  },
  "luminance": 0.23982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8175F5

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

Preview Lab → · Contrast checker → · Palette generator →

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