#B039F2#B039F2

#B039F2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.4% C 0.261 H 309.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B039F2
RGBrgb(176, 57, 242)
HSLhsl(279, 88%, 59%)
HSVhsv(279, 76%, 95%)
CMYKcmyk(27.3%, 76.4%, 0%, 5.1%)
CIE-LABlab(50.18, 74.46, -70.56)
CIE-LCHlch(50.18, 102.59, 316.54°)
OKLaboklab(60.41% 0.167 -0.2002)
OKLCHoklch(60.41% 0.261 309.8)
XYZxyz(35.3914, 18.5679, 85.7068)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B039F2 #7BF239
analogous
#5339F2 #B039F2 #F239D7
triadic
#B039F2 #F2B039 #39F2B0
tetradic
#B039F2 #F25339 #7BF239 #39D7F2
square
#B039F2 #F25339 #7BF239 #39D7F2
split-complementary
#B039F2 #D7F239 #39F253
monochromatic
#6E0BA6 #950FDF #B039F2 #C772F6 #DEACFA

Accessibility & contrast

On white

4.46
#B039F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B039F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B039F2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B039F2#FFFFFF#000000##000000
##B039F21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b039f2;
/* rgb */ color: rgb(176, 57, 242);
/* oklch */ color: oklch(60.4% 0.261 309.8);
Tailwind
colors: {
  custom: {
    50: '#cd7cf7',
    500: '#b039f2',
    950: '#000000',
  },
}
SCSS
$custom: #b039f2;
$custom-light: #cd7cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b039f2",
  "rgb": {
    "r": 176,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 278.595,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.2607,
    "h": 309.8
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B039F2

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

Preview Lab → · Contrast checker → · Palette generator →

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