#8150F3#8150F3

#8150F3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.230 H 291.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8150F3
RGBrgb(129, 80, 243)
HSLhsl(258, 87%, 63%)
HSVhsv(258, 67%, 95%)
CMYKcmyk(46.9%, 67.1%, 0%, 4.7%)
CIE-LABlab(48.10, 56.77, -74.75)
CIE-LCHlch(48.10, 93.86, 307.21°)
OKLaboklab(57.74% 0.0835 -0.2142)
OKLCHoklch(57.74% 0.23 291.3)
XYZxyz(28.0950, 16.8745, 86.5534)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150F3 #C2F350
analogous
#5070F3 #8150F3 #D350F3
triadic
#8150F3 #F38150 #50F381
tetradic
#8150F3 #F35070 #C2F350 #50F3D3
square
#8150F3 #F35070 #C2F350 #50F3D3
split-complementary
#8150F3 #F3D350 #70F350
monochromatic
#410DBC #5817EF #8150F3 #AA89F7 #D3C3FB

Accessibility & contrast

On white

4.80
#8150F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8150F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150F3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150F3#FFFFFF#000000##FFFFFF
##8150F31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006FF0
Tritanopia (blue-blind)
#5D799B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8150f3;
/* rgb */ color: rgb(129, 80, 243);
/* oklch */ color: oklch(57.7% 0.230 291.3);
Tailwind
colors: {
  custom: {
    50: '#ae84f8',
    500: '#8150f3',
    950: '#000000',
  },
}
SCSS
$custom: #8150f3;
$custom-light: #ae84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8150f3",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 258.037,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.22987,
    "h": 291.3
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#8150F3
secondary
#DBECB2
accent
#E402A0
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8150F3

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

Preview Lab → · Contrast checker → · Palette generator →

#8150F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva