#B182EF#B182EF

#B182EF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.160 H 302.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B182EF
RGBrgb(177, 130, 239)
HSLhsl(266, 77%, 72%)
HSVhsv(266, 46%, 94%)
CMYKcmyk(25.9%, 45.6%, 0%, 6.3%)
CIE-LABlab(62.96, 39.54, -48.40)
CIE-LCHlch(62.96, 62.49, 309.25°)
OKLaboklab(69.69% 0.0858 -0.1355)
OKLCHoklch(69.69% 0.16 302.3)
XYZxyz(41.6906, 31.5444, 85.5369)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B182EF #C0EF82
analogous
#8289EF #B182EF #E882EF
triadic
#B182EF #EFB182 #82EFB1
tetradic
#B182EF #EF8289 #C0EF82 #82EFE8
square
#B182EF #EF8289 #C0EF82 #82EFE8
split-complementary
#B182EF #EFE882 #89EF82
monochromatic
#6E1CDB #8F4CE8 #B182EF #D3B8F6 #EEE4FC

Accessibility & contrast

On white

2.87
#B182EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B182EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B182EF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B182EF#FFFFFF#000000##000000
##B182EF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#A695AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b182ef;
/* rgb */ color: rgb(177, 130, 239);
/* oklch */ color: oklch(69.7% 0.160 302.3);
Tailwind
colors: {
  custom: {
    50: '#caa7f5',
    500: '#b182ef',
    950: '#000000',
  },
}
SCSS
$custom: #b182ef;
$custom-light: #caa7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b182ef",
  "rgb": {
    "r": 177,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 265.872,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.1604,
    "h": 302.3
  },
  "luminance": 0.31544
}

Semantic roles & 50–950 ramp

primary
#B182EF
secondary
#E7F3D8
accent
#DA0C81
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #B182EF

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

Preview Lab → · Contrast checker → · Palette generator →

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