#B262BE#B262BE

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

Color values

HEX#B262BE
RGBrgb(178, 98, 190)
HSLhsl(292, 41%, 56%)
HSVhsv(292, 48%, 75%)
CMYKcmyk(6.3%, 48.4%, 0%, 25.5%)
CIE-LABlab(53.94, 46.44, -34.99)
CIE-LCHlch(53.94, 58.14, 323.01°)
OKLaboklab(62.21% 0.1246 -0.0965)
OKLCHoklch(62.21% 0.158 322.2)
XYZxyz(32.0210, 21.9194, 51.2494)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262BE #6EBE62
analogous
#8462BE #B262BE #BE629C
triadic
#B262BE #BEB262 #62BEB2
tetradic
#B262BE #BE8462 #6EBE62 #629CBE
square
#B262BE #BE8462 #6EBE62 #629CBE
split-complementary
#B262BE #9CBE62 #62BE84
monochromatic
#6C3075 #9442A0 #B262BE #C78DD0 #DCB9E2

Accessibility & contrast

On white

3.90
#B262BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B262BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262BE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262BE#FFFFFF#000000##000000
##B262BE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#6C84BB
Tritanopia (blue-blind)
#B46E87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b262be;
/* rgb */ color: rgb(178, 98, 190);
/* oklch */ color: oklch(62.2% 0.158 322.2);
Tailwind
colors: {
  custom: {
    50: '#cb91d2',
    500: '#b262be',
    950: '#000000',
  },
}
SCSS
$custom: #b262be;
$custom-light: #cb91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b262be",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 292.174,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62214,
    "c": 0.15763,
    "h": 322.2
  },
  "luminance": 0.21918
}

Semantic roles & 50–950 ramp

primary
#B262BE
secondary
#B0D1AB
accent
#D15767
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B262BE

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

Preview Lab → · Contrast checker → · Palette generator →

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