#B150E5#B150E5

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

Color values

HEX#B150E5
RGBrgb(177, 80, 229)
HSLhsl(279, 74%, 61%)
HSVhsv(279, 65%, 90%)
CMYKcmyk(22.7%, 65.1%, 0%, 10.2%)
CIE-LABlab(52.67, 62.88, -59.23)
CIE-LCHlch(52.67, 86.39, 316.72°)
OKLaboklab(61.93% 0.148 -0.167)
OKLCHoklch(61.93% 0.223 311.5)
XYZxyz(35.1404, 20.7424, 76.2661)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150E5 #84E550
analogous
#6650E5 #B150E5 #E550CF
triadic
#B150E5 #E5B150 #50E5B1
tetradic
#B150E5 #E56650 #84E550 #50CFE5
square
#B150E5 #E56650 #84E550 #50CFE5
split-complementary
#B150E5 #CFE550 #50E566
monochromatic
#7218A2 #9820D8 #B150E5 #C985ED #E0BBF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B150E5#FFFFFF#000000##000000
##B150E51.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)
#0079E9
Deuteranopia (green-blind)
#4080E2
Tritanopia (blue-blind)
#AB6E94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b150e5;
/* rgb */ color: rgb(177, 80, 229);
/* oklch */ color: oklch(61.9% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc87ee',
    500: '#b150e5',
    950: '#000000',
  },
}
SCSS
$custom: #b150e5;
$custom-light: #cc87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b150e5",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 279.06,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.22317,
    "h": 311.5
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#B150E5
secondary
#C0E5AC
accent
#D60F55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B150E5

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

Preview Lab → · Contrast checker → · Palette generator →

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