#B03CFB#B03CFB

#B03CFB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 61.3% C 0.266 H 307.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B03CFB
RGBrgb(176, 60, 251)
HSLhsl(276, 96%, 61%)
HSVhsv(276, 76%, 98%)
CMYKcmyk(29.9%, 76.1%, 0%, 1.6%)
CIE-LABlab(51.18, 75.27, -73.96)
CIE-LCHlch(51.18, 105.52, 315.50°)
OKLaboklab(61.32% 0.1627 -0.2102)
OKLCHoklch(61.32% 0.266 307.7)
XYZxyz(36.9293, 19.4274, 93.0525)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03CFB #87FB3C
analogous
#503CFB #B03CFB #FB3CE6
triadic
#B03CFB #FBB03C #3CFBB0
tetradic
#B03CFB #FB503C #87FB3C #3CE6FB
square
#B03CFB #FB503C #87FB3C #3CE6FB
split-complementary
#B03CFB #E6FB3C #3CFB50
monochromatic
#7204B9 #9705F5 #B03CFB #C878FC #E1B4FD

Accessibility & contrast

On white

4.30
#B03CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B03CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B03CFB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03CFB#FFFFFF#000000##000000
##B03CFB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#A46C9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b03cfb;
/* rgb */ color: rgb(176, 60, 251);
/* oklch */ color: oklch(61.3% 0.266 307.7);
Tailwind
colors: {
  custom: {
    50: '#ce7efe',
    500: '#b03cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b03cfb;
$custom-light: #ce7efe;
$custom-dark: #000000;
JSON
{
  "hex": "#b03cfb",
  "rgb": {
    "r": 176,
    "g": 60,
    "b": 251
  },
  "hsl": {
    "h": 276.44,
    "s": 95.98,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6132,
    "c": 0.26584,
    "h": 307.7
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#B03CFB
secondary
#C2EDA5
accent
#E6005A
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #B03CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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