#8A75F2#8A75F2

#8A75F2 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.1% C 0.180 H 287.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A75F2
RGBrgb(138, 117, 242)
HSLhsl(250, 83%, 70%)
HSVhsv(250, 52%, 95%)
CMYKcmyk(43%, 51.7%, 0%, 5.1%)
CIE-LABlab(56.62, 37.92, -60.38)
CIE-LCHlch(56.62, 71.30, 302.14°)
OKLaboklab(64.15% 0.0555 -0.1716)
OKLCHoklch(64.15% 0.18 287.9)
XYZxyz(32.8650, 24.5354, 86.9914)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75F2 #DDF275
analogous
#759EF2 #8A75F2 #C875F2
triadic
#8A75F2 #F28A75 #75F28A
tetradic
#8A75F2 #F2759E #DDF275 #75F2C8
square
#8A75F2 #F2759E #DDF275 #75F2C8
split-complementary
#8A75F2 #F2C875 #9EF275
monochromatic
#3514D8 #5B3DED #8A75F2 #B9ADF7 #E7E3FC

Accessibility & contrast

On white

3.55
#8A75F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A75F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75F2#FFFFFF#000000##000000
##8A75F21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#3B85EF
Tritanopia (blue-blind)
#6B8FA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a75f2;
/* rgb */ color: rgb(138, 117, 242);
/* oklch */ color: oklch(64.1% 0.180 287.9);
Tailwind
colors: {
  custom: {
    50: '#b29df7',
    500: '#8a75f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a75f2;
$custom-light: #b29df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75f2",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 250.08,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64148,
    "c": 0.18037,
    "h": 287.9
  },
  "luminance": 0.24537
}

Semantic roles & 50–950 ramp

primary
#8A75F2
secondary
#EDF3D0
accent
#DF06BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A75F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8A75F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva