#B262AA#B262AA

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

Color values

HEX#B262AA
RGBrgb(178, 98, 170)
HSLhsl(306, 34%, 54%)
HSVhsv(306, 45%, 70%)
CMYKcmyk(0%, 44.9%, 4.5%, 30.2%)
CIE-LABlab(53.06, 42.68, -24.78)
CIE-LCHlch(53.06, 49.35, 329.86°)
OKLaboklab(61.27% 0.1209 -0.0674)
OKLCHoklch(61.27% 0.138 330.9)
XYZxyz(29.9832, 21.1043, 40.5167)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262AA #62B26A
analogous
#9262B2 #B262AA #B26282
triadic
#B262AA #AAB262 #62AAB2
tetradic
#B262AA #B29262 #62B26A #6282B2
square
#B262AA #B29262 #62B26A #6282B2
split-complementary
#B262AA #82B262 #62B292
monochromatic
#673362 #904789 #B262AA #C68BC0 #DAB4D6

Accessibility & contrast

On white

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

On black

5.22
#B262AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262AA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262AA#FFFFFF#000000##000000
##B262AA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AD
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#B8687E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b262aa;
/* rgb */ color: rgb(178, 98, 170);
/* oklch */ color: oklch(61.3% 0.138 330.9);
Tailwind
colors: {
  custom: {
    50: '#cb91c3',
    500: '#b262aa',
    950: '#000000',
  },
}
SCSS
$custom: #b262aa;
$custom-light: #cb91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b262aa",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 306,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.13836,
    "h": 330.9
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B262AA

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

Preview Lab → · Contrast checker → · Palette generator →

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