#B146E7#B146E7

#B146E7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 61.0% C 0.237 H 311.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B146E7
RGBrgb(177, 70, 231)
HSLhsl(280, 77%, 59%)
HSVhsv(280, 70%, 91%)
CMYKcmyk(23.4%, 69.7%, 0%, 9.4%)
CIE-LABlab(51.26, 67.57, -62.61)
CIE-LCHlch(51.26, 92.12, 317.18°)
OKLaboklab(60.97% 0.1583 -0.1769)
OKLCHoklch(60.97% 0.237 311.8)
XYZxyz(34.7428, 19.4979, 77.5191)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146E7 #7CE746
analogous
#6146E7 #B146E7 #E746CC
triadic
#B146E7 #E7B146 #46E7B1
tetradic
#B146E7 #E76146 #7CE746 #46CCE7
square
#B146E7 #E76146 #7CE746 #46CCE7
split-complementary
#B146E7 #CCE746 #46E761
monochromatic
#70159E #961CD4 #B146E7 #C87CEE #DFB2F5

Accessibility & contrast

On white

4.29
#B146E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B146E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B146E7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146E7#FFFFFF#000000##000000
##B146E71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#AA6992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b146e7;
/* rgb */ color: rgb(177, 70, 231);
/* oklch */ color: oklch(61.0% 0.237 311.8);
Tailwind
colors: {
  custom: {
    50: '#cd82ef',
    500: '#b146e7',
    950: '#000000',
  },
}
SCSS
$custom: #b146e7;
$custom-light: #cd82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b146e7",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 279.876,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.23741,
    "h": 311.8
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#B146E7
secondary
#BAE4A5
accent
#F43474
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B146E7

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

Preview Lab → · Contrast checker → · Palette generator →

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