#8A50FB#8A50FB

#8A50FB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.239 H 293.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A50FB
RGBrgb(138, 80, 251)
HSLhsl(260, 96%, 65%)
HSVhsv(260, 68%, 98%)
CMYKcmyk(45%, 68.1%, 0%, 1.6%)
CIE-LABlab(49.62, 60.42, -76.70)
CIE-LCHlch(49.62, 97.64, 308.23°)
OKLaboklab(59.23% 0.0944 -0.2196)
OKLCHoklch(59.23% 0.239 293.3)
XYZxyz(30.7577, 18.1047, 93.1221)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A50FB #C1FB50
analogous
#506BFB #8A50FB #E050FB
triadic
#8A50FB #FB8A50 #50FB8A
tetradic
#8A50FB #FB506B #C1FB50 #50FBE0
square
#8A50FB #FB506B #C1FB50 #50FBE0
split-complementary
#8A50FB #FBE050 #6BFB50
monochromatic
#4805CC #6214FA #8A50FB #B28CFC #DAC8FE

Accessibility & contrast

On white

4.54
#8A50FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A50FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A50FB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A50FB#FFFFFF#000000##000000
##8A50FB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#697BA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a50fb;
/* rgb */ color: rgb(138, 80, 251);
/* oklch */ color: oklch(59.2% 0.239 293.3);
Tailwind
colors: {
  custom: {
    50: '#b585fe',
    500: '#8a50fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a50fb;
$custom-light: #b585fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a50fb",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 251
  },
  "hsl": {
    "h": 260.351,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.23904,
    "h": 293.3
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#8A50FB
secondary
#DDF1B6
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A50FB

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

Preview Lab → · Contrast checker → · Palette generator →

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