#B262AE#B262AE

#B262AE is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.5% C 0.142 H 329.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B262AE
RGBrgb(178, 98, 174)
HSLhsl(303, 34%, 54%)
HSVhsv(303, 45%, 70%)
CMYKcmyk(0%, 44.9%, 2.2%, 30.2%)
CIE-LABlab(53.23, 43.41, -26.85)
CIE-LCHlch(53.23, 51.04, 328.26°)
OKLaboklab(61.45% 0.1217 -0.0732)
OKLCHoklch(61.45% 0.142 329)
XYZxyz(30.3673, 21.2579, 42.5398)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262AE #62B266
analogous
#8E62B2 #B262AE #B26286
triadic
#B262AE #AEB262 #62AEB2
tetradic
#B262AE #B28E62 #62B266 #6286B2
square
#B262AE #B28E62 #62B266 #6286B2
split-complementary
#B262AE #86B262 #62B28E
monochromatic
#673364 #90478C #B262AE #C68BC3 #DAB4D8

Accessibility & contrast

On white

4.00
#B262AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B262AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262AE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262AE#FFFFFF#000000##000000
##B262AE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78B1
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#B76980
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b262ae;
/* rgb */ color: rgb(178, 98, 174);
/* oklch */ color: oklch(61.5% 0.142 329.0);
Tailwind
colors: {
  custom: {
    50: '#cb91c6',
    500: '#b262ae',
    950: '#000000',
  },
}
SCSS
$custom: #b262ae;
$custom-light: #cb91c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ae",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 303,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.14205,
    "h": 329
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B262AE

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

Preview Lab → · Contrast checker → · Palette generator →

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