#B050E7#B050E7

#B050E7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.225 H 310.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B050E7
RGBrgb(176, 80, 231)
HSLhsl(278, 76%, 61%)
HSVhsv(278, 65%, 91%)
CMYKcmyk(23.8%, 65.4%, 0%, 9.4%)
CIE-LABlab(52.66, 63.09, -60.37)
CIE-LCHlch(52.66, 87.32, 316.26°)
OKLaboklab(61.94% 0.1466 -0.1704)
OKLCHoklch(61.94% 0.225 310.7)
XYZxyz(35.1942, 20.7377, 77.7346)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B050E7 #87E750
analogous
#6450E7 #B050E7 #E750D2
triadic
#B050E7 #E7B050 #50E7B0
tetradic
#B050E7 #E76450 #87E750 #50D2E7
square
#B050E7 #E76450 #87E750 #50D2E7
split-complementary
#B050E7 #D2E750 #50E764
monochromatic
#7217A6 #971EDC #B050E7 #C886EE #E1BCF6

Accessibility & contrast

On white

4.08
#B050E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B050E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B050E7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B050E7#FFFFFF#000000##000000
##B050E71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#3D7FE4
Tritanopia (blue-blind)
#A96F95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b050e7;
/* rgb */ color: rgb(176, 80, 231);
/* oklch */ color: oklch(61.9% 0.225 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc87ef',
    500: '#b050e7',
    950: '#000000',
  },
}
SCSS
$custom: #b050e7;
$custom-light: #cc87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b050e7",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 278.146,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61944,
    "c": 0.2248,
    "h": 310.7
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#B050E7
secondary
#C2E6AD
accent
#D80D57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B050E7

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

Preview Lab → · Contrast checker → · Palette generator →

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