#B262BA#B262BA

#B262BA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.0% C 0.154 H 323.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B262BA
RGBrgb(178, 98, 186)
HSLhsl(295, 39%, 56%)
HSVhsv(295, 47%, 73%)
CMYKcmyk(4.3%, 47.3%, 0%, 27.1%)
CIE-LABlab(53.76, 45.66, -32.97)
CIE-LCHlch(53.76, 56.32, 324.17°)
OKLaboklab(62.02% 0.124 -0.0907)
OKLCHoklch(62.02% 0.154 323.8)
XYZxyz(31.5899, 21.7469, 48.9785)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262BA #6ABA62
analogous
#8662BA #B262BA #BA6296
triadic
#B262BA #BAB262 #62BAB2
tetradic
#B262BA #BA8662 #6ABA62 #6296BA
square
#B262BA #BA8662 #6ABA62 #6296BA
split-complementary
#B262BA #96BA62 #62BA86
monochromatic
#6B3170 #93449B #B262BA #C78DCD #DCB7DF

Accessibility & contrast

On white

3.93
#B262BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B262BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262BA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262BA#FFFFFF#000000##000000
##B262BA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#6E84B7
Tritanopia (blue-blind)
#B56C85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b262ba;
/* rgb */ color: rgb(178, 98, 186);
/* oklch */ color: oklch(62.0% 0.154 323.8);
Tailwind
colors: {
  custom: {
    50: '#cb91cf',
    500: '#b262ba',
    950: '#000000',
  },
}
SCSS
$custom: #b262ba;
$custom-light: #cb91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ba",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 294.545,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.15363,
    "h": 323.8
  },
  "luminance": 0.21746
}

Semantic roles & 50–950 ramp

primary
#B262BA
secondary
#ADCEAA
accent
#CF5964
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B262BA

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

Preview Lab → · Contrast checker → · Palette generator →

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