#B262AB#B262AB

#B262AB is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.3% C 0.139 H 330.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B262AB
RGBrgb(178, 98, 171)
HSLhsl(305, 34%, 54%)
HSVhsv(305, 45%, 70%)
CMYKcmyk(0%, 44.9%, 3.9%, 30.2%)
CIE-LABlab(53.10, 42.86, -25.30)
CIE-LCHlch(53.10, 49.77, 329.45°)
OKLaboklab(61.32% 0.1211 -0.0688)
OKLCHoklch(61.32% 0.139 330.4)
XYZxyz(30.0781, 21.1423, 41.0167)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262AB #62B269
analogous
#9162B2 #B262AB #B26283
triadic
#B262AB #ABB262 #62ABB2
tetradic
#B262AB #B29162 #62B269 #6283B2
square
#B262AB #B29162 #62B269 #6283B2
split-complementary
#B262AB #83B262 #62B291
monochromatic
#673362 #90478A #B262AB #C68BC1 #DAB4D7

Accessibility & contrast

On white

4.02
#B262AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B262AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262AB#FFFFFF#000000##000000
##B262AB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#7483A9
Tritanopia (blue-blind)
#B8687E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b262ab;
/* rgb */ color: rgb(178, 98, 171);
/* oklch */ color: oklch(61.3% 0.139 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb91c4',
    500: '#b262ab',
    950: '#000000',
  },
}
SCSS
$custom: #b262ab;
$custom-light: #cb91c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ab",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 305.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.13928,
    "h": 330.4
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#B262AB
secondary
#A7C9AA
accent
#CA675E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B262AB

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

Preview Lab → · Contrast checker → · Palette generator →

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