#B262B7#B262B7

#B262B7 is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.9% C 0.151 H 325.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B262B7
RGBrgb(178, 98, 183)
HSLhsl(296, 37%, 55%)
HSVhsv(296, 46%, 72%)
CMYKcmyk(2.7%, 46.4%, 0%, 28.2%)
CIE-LABlab(53.62, 45.09, -31.45)
CIE-LCHlch(53.62, 54.98, 325.10°)
OKLaboklab(61.87% 0.1235 -0.0864)
OKLCHoklch(61.87% 0.151 325)
XYZxyz(31.2743, 21.6207, 47.3164)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262B7 #67B762
analogous
#8862B7 #B262B7 #B76291
triadic
#B262B7 #B7B262 #62B7B2
tetradic
#B262B7 #B78862 #67B762 #6291B7
square
#B262B7 #B78862 #67B762 #6291B7
split-complementary
#B262B7 #91B762 #62B788
monochromatic
#69326D #924597 #B262B7 #C78CCA #DBB6DD

Accessibility & contrast

On white

3.94
#B262B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B262B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262B7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262B7#FFFFFF#000000##000000
##B262B71.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597ABA
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#B66C84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b262b7;
/* rgb */ color: rgb(178, 98, 183);
/* oklch */ color: oklch(61.9% 0.151 325.0);
Tailwind
colors: {
  custom: {
    50: '#cb91cd',
    500: '#b262b7',
    950: '#000000',
  },
}
SCSS
$custom: #b262b7;
$custom-light: #cb91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b262b7",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 296.471,
    "s": 37.118,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.15067,
    "h": 325
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#B262B7
secondary
#ABCCA9
accent
#CD5B61
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D13
muted
#827E82

Preview Lab

Preview with #B262B7

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

Preview Lab → · Contrast checker → · Palette generator →

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