#8175E4#8175E4

#8175E4 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.5% C 0.162 H 285.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8175E4
RGBrgb(129, 117, 228)
HSLhsl(246, 67%, 68%)
HSVhsv(246, 49%, 89%)
CMYKcmyk(43.4%, 48.7%, 0%, 10.6%)
CIE-LABlab(55.06, 31.90, -55.10)
CIE-LCHlch(55.06, 63.67, 300.07°)
OKLaboklab(62.54% 0.0437 -0.1564)
OKLCHoklch(62.54% 0.162 285.6)
XYZxyz(29.4141, 22.9900, 76.2714)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175E4 #D8E475
analogous
#75A1E4 #8175E4 #B875E4
triadic
#8175E4 #E48175 #75E481
tetradic
#8175E4 #E475A1 #D8E475 #75E4B8
square
#8175E4 #E475A1 #D8E475 #75E4B8
split-complementary
#8175E4 #E4B875 #A1E475
monochromatic
#3524BA #5242DA #8175E4 #B0A8EE #DEDBF8

Accessibility & contrast

On white

3.75
#8175E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8175E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175E4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175E4#FFFFFF#000000##000000
##8175E41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E8
Deuteranopia (green-blind)
#4381E1
Tritanopia (blue-blind)
#628CA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8175e4;
/* rgb */ color: rgb(129, 117, 228);
/* oklch */ color: oklch(62.5% 0.162 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab9ded',
    500: '#8175e4',
    950: '#000000',
  },
}
SCSS
$custom: #8175e4;
$custom-light: #ab9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8175e4",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 246.486,
    "s": 67.273,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.16236,
    "h": 285.6
  },
  "luminance": 0.22991
}

Semantic roles & 50–950 ramp

primary
#8175E4
secondary
#E8ECC9
accent
#CF16BB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8175E4

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

Preview Lab → · Contrast checker → · Palette generator →

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