#B262BD#B262BD

#B262BD is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.2% C 0.157 H 322.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B262BD
RGBrgb(178, 98, 189)
HSLhsl(293, 41%, 56%)
HSVhsv(293, 48%, 74%)
CMYKcmyk(5.8%, 48.1%, 0%, 25.9%)
CIE-LABlab(53.90, 46.24, -34.48)
CIE-LCHlch(53.90, 57.69, 323.29°)
OKLaboklab(62.17% 0.1245 -0.0951)
OKLCHoklch(62.17% 0.157 322.6)
XYZxyz(31.9121, 21.8759, 50.6757)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262BD #6DBD62
analogous
#8562BD #B262BD #BD629B
triadic
#B262BD #BDB262 #62BDB2
tetradic
#B262BD #BD8562 #6DBD62 #629BBD
square
#B262BD #BD8562 #6DBD62 #629BBD
split-complementary
#B262BD #9BBD62 #62BD85
monochromatic
#6C3174 #94439F #B262BD #C78DCF #DCB8E1

Accessibility & contrast

On white

3.91
#B262BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B262BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262BD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262BD#FFFFFF#000000##000000
##B262BD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BC0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#B46D87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b262bd;
/* rgb */ color: rgb(178, 98, 189);
/* oklch */ color: oklch(62.2% 0.157 322.6);
Tailwind
colors: {
  custom: {
    50: '#cb91d1',
    500: '#b262bd',
    950: '#000000',
  },
}
SCSS
$custom: #b262bd;
$custom-light: #cb91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b262bd",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 292.747,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62165,
    "c": 0.15662,
    "h": 322.6
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#B262BD
secondary
#AFD0AB
accent
#D15766
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B262BD

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

Preview Lab → · Contrast checker → · Palette generator →

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