#8155F2#8155F2

#8155F2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.223 H 290.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8155F2
RGBrgb(129, 85, 242)
HSLhsl(257, 86%, 64%)
HSVhsv(257, 65%, 95%)
CMYKcmyk(46.7%, 64.9%, 0%, 5.1%)
CIE-LABlab(48.98, 53.91, -72.77)
CIE-LCHlch(48.98, 90.56, 306.53°)
OKLaboklab(58.34% 0.0788 -0.2084)
OKLCHoklch(58.34% 0.223 290.7)
XYZxyz(28.3242, 17.5739, 85.8869)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155F2 #C6F255
analogous
#5578F2 #8155F2 #CF55F2
triadic
#8155F2 #F28155 #55F281
tetradic
#8155F2 #F25578 #C6F255 #55F2CF
square
#8155F2 #F25578 #C6F255 #55F2CF
split-complementary
#8155F2 #F2CF55 #78F255
monochromatic
#400FBE #571CEE #8155F2 #AB8EF6 #D5C7FB

Accessibility & contrast

On white

4.65
#8155F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8155F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8155F2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155F2#FFFFFF#000000##FFFFFF
##8155F21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#5D7B9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8155f2;
/* rgb */ color: rgb(129, 85, 242);
/* oklch */ color: oklch(58.3% 0.223 290.7);
Tailwind
colors: {
  custom: {
    50: '#ae87f7',
    500: '#8155f2',
    950: '#000000',
  },
}
SCSS
$custom: #8155f2;
$custom-light: #ae87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8155f2",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 256.815,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.22278,
    "h": 290.7
  },
  "luminance": 0.17575
}

Semantic roles & 50–950 ramp

primary
#8155F2
secondary
#DDEDB6
accent
#E203A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155F2

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

Preview Lab → · Contrast checker → · Palette generator →

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