#B139F2#B139F2

#B139F2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.5% C 0.261 H 310.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B139F2
RGBrgb(177, 57, 242)
HSLhsl(279, 88%, 59%)
HSVhsv(279, 76%, 95%)
CMYKcmyk(26.9%, 76.4%, 0%, 5.1%)
CIE-LABlab(50.32, 74.63, -70.33)
CIE-LCHlch(50.32, 102.55, 316.70°)
OKLaboklab(60.54% 0.1683 -0.1995)
OKLCHoklch(60.54% 0.261 310.1)
XYZxyz(35.6184, 18.6850, 85.7174)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B139F2 #7AF239
analogous
#5439F2 #B139F2 #F239D6
triadic
#B139F2 #F2B139 #39F2B1
tetradic
#B139F2 #F25439 #7AF239 #39D6F2
square
#B139F2 #F25439 #7AF239 #39D6F2
split-complementary
#B139F2 #D6F239 #39F254
monochromatic
#6F0BA6 #960FDF #B139F2 #C872F6 #DEACFA

Accessibility & contrast

On white

4.43
#B139F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B139F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B139F2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B139F2#FFFFFF#000000##000000
##B139F21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#A86795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b139f2;
/* rgb */ color: rgb(177, 57, 242);
/* oklch */ color: oklch(60.5% 0.261 310.1);
Tailwind
colors: {
  custom: {
    50: '#ce7cf7',
    500: '#b139f2',
    950: '#000000',
  },
}
SCSS
$custom: #b139f2;
$custom-light: #ce7cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b139f2",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 278.919,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.26098,
    "h": 310.1
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#B139F2
secondary
#B9E89F
accent
#FE2A74
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #B139F2

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

Preview Lab → · Contrast checker → · Palette generator →

#B139F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva