#B262AC#B262AC

#B262AC is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.4% C 0.140 H 329.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B262AC
RGBrgb(178, 98, 172)
HSLhsl(305, 34%, 54%)
HSVhsv(305, 45%, 70%)
CMYKcmyk(0%, 44.9%, 3.4%, 30.2%)
CIE-LABlab(53.15, 43.04, -25.81)
CIE-LCHlch(53.15, 50.19, 329.05°)
OKLaboklab(61.36% 0.1213 -0.0703)
OKLCHoklch(61.36% 0.14 329.9)
XYZxyz(30.1738, 21.1805, 41.5206)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262AC #62B268
analogous
#9062B2 #B262AC #B26284
triadic
#B262AC #ACB262 #62ACB2
tetradic
#B262AC #B29062 #62B268 #6284B2
square
#B262AC #B29062 #62B268 #6284B2
split-complementary
#B262AC #84B262 #62B290
monochromatic
#673363 #90478B #B262AC #C68BC2 #DAB4D7

Accessibility & contrast

On white

4.01
#B262AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B262AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262AC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262AC#FFFFFF#000000##000000
##B262AC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AF
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#B7687F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b262ac;
/* rgb */ color: rgb(178, 98, 172);
/* oklch */ color: oklch(61.4% 0.140 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb91c5',
    500: '#b262ac',
    950: '#000000',
  },
}
SCSS
$custom: #b262ac;
$custom-light: #cb91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ac",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 304.5,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.14019,
    "h": 329.9
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#B262AC
secondary
#A7C9A9
accent
#CA665E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B262AC

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

Preview Lab → · Contrast checker → · Palette generator →

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