#8175E2#8175E2

#8175E2 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.4% C 0.160 H 285.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8175E2
RGBrgb(129, 117, 226)
HSLhsl(247, 65%, 67%)
HSVhsv(247, 48%, 89%)
CMYKcmyk(42.9%, 48.2%, 0%, 11.4%)
CIE-LABlab(54.95, 31.33, -54.16)
CIE-LCHlch(54.95, 62.57, 300.05°)
OKLaboklab(62.41% 0.0435 -0.1536)
OKLCHoklch(62.41% 0.16 285.8)
XYZxyz(29.1381, 22.8795, 74.8177)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175E2 #D6E275
analogous
#759FE2 #8175E2 #B875E2
triadic
#8175E2 #E28175 #75E281
tetradic
#8175E2 #E2759F #D6E275 #75E2B8
square
#8175E2 #E2759F #D6E275 #75E2B8
split-complementary
#8175E2 #E2B875 #9FE275
monochromatic
#3626B6 #5342D7 #8175E2 #AFA8ED #DDDAF7

Accessibility & contrast

On white

3.77
#8175E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8175E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175E2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175E2#FFFFFF#000000##000000
##8175E21.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E6
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#638CA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8175e2;
/* rgb */ color: rgb(129, 117, 226);
/* oklch */ color: oklch(62.4% 0.160 285.8);
Tailwind
colors: {
  custom: {
    50: '#aa9dec',
    500: '#8175e2',
    950: '#000000',
  },
}
SCSS
$custom: #8175e2;
$custom-light: #aa9dec;
$custom-dark: #000000;
JSON
{
  "hex": "#8175e2",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 246.606,
    "s": 65.269,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.15966,
    "h": 285.8
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#8175E2
secondary
#E7EBC8
accent
#CD18B9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8175E2

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

Preview Lab → · Contrast checker → · Palette generator →

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