#B043FB#B043FB

#B043FB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.9% C 0.259 H 307.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B043FB
RGBrgb(176, 67, 251)
HSLhsl(276, 96%, 62%)
HSVhsv(276, 73%, 98%)
CMYKcmyk(29.9%, 73.3%, 0%, 1.6%)
CIE-LABlab(52.07, 72.71, -72.52)
CIE-LCHlch(52.07, 102.69, 315.08°)
OKLaboklab(61.95% 0.1569 -0.206)
OKLCHoklch(61.95% 0.259 307.3)
XYZxyz(37.3205, 20.2099, 93.1829)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B043FB #8EFB43
analogous
#5443FB #B043FB #FB43EA
triadic
#B043FB #FBB043 #43FBB0
tetradic
#B043FB #FB5443 #8EFB43 #43EAFB
square
#B043FB #FB5443 #8EFB43 #43EAFB
split-complementary
#B043FB #EAFB43 #43FB54
monochromatic
#7304C0 #9707FA #B043FB #C97FFC #E2BBFE

Accessibility & contrast

On white

4.17
#B043FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B043FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B043FB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B043FB#FFFFFF#000000##000000
##B043FB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#A3709C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b043fb;
/* rgb */ color: rgb(176, 67, 251);
/* oklch */ color: oklch(61.9% 0.259 307.3);
Tailwind
colors: {
  custom: {
    50: '#cd81fe',
    500: '#b043fb',
    950: '#000000',
  },
}
SCSS
$custom: #b043fb;
$custom-light: #cd81fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b043fb",
  "rgb": {
    "r": 176,
    "g": 67,
    "b": 251
  },
  "hsl": {
    "h": 275.543,
    "s": 95.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.25895,
    "h": 307.3
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#B043FB
secondary
#C7EFAB
accent
#E6005E
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #B043FB

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

Preview Lab → · Contrast checker → · Palette generator →

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