#8175F2#8175F2

#8175F2 is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.4% C 0.181 H 284.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8175F2
RGBrgb(129, 117, 242)
HSLhsl(246, 83%, 70%)
HSVhsv(246, 52%, 95%)
CMYKcmyk(46.7%, 51.7%, 0%, 5.1%)
CIE-LABlab(55.89, 35.93, -61.59)
CIE-LCHlch(55.89, 71.31, 300.26°)
OKLaboklab(63.42% 0.0448 -0.1754)
OKLCHoklch(63.42% 0.181 284.3)
XYZxyz(31.4368, 23.7990, 86.9244)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175F2 #E6F275
analogous
#75A7F2 #8175F2 #BF75F2
triadic
#8175F2 #F28175 #75F281
tetradic
#8175F2 #F275A7 #E6F275 #75F2BF
square
#8175F2 #F275A7 #E6F275 #75F2BF
split-complementary
#8175F2 #F2BF75 #A7F275
monochromatic
#2714D8 #4E3DED #8175F2 #B4ADF7 #E5E3FC

Accessibility & contrast

On white

3.65
#8175F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8175F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175F2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175F2#FFFFFF#000000##000000
##8175F21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#5A90A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8175f2;
/* rgb */ color: rgb(129, 117, 242);
/* oklch */ color: oklch(63.4% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#ac9df7',
    500: '#8175f2',
    950: '#000000',
  },
}
SCSS
$custom: #8175f2;
$custom-light: #ac9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8175f2",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 245.76,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6342,
    "c": 0.18106,
    "h": 284.3
  },
  "luminance": 0.23801
}

Semantic roles & 50–950 ramp

primary
#8175F2
secondary
#EFF3D0
accent
#DF06CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8175F2

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

Preview Lab → · Contrast checker → · Palette generator →

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