#B262BC#B262BC

#B262BC is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.1% C 0.156 H 323.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B262BC
RGBrgb(178, 98, 188)
HSLhsl(293, 40%, 56%)
HSVhsv(293, 48%, 74%)
CMYKcmyk(5.3%, 47.9%, 0%, 26.3%)
CIE-LABlab(53.85, 46.05, -33.98)
CIE-LCHlch(53.85, 57.23, 323.58°)
OKLaboklab(62.11% 0.1243 -0.0936)
OKLCHoklch(62.11% 0.156 323)
XYZxyz(31.8040, 21.8326, 50.1061)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262BC #6CBC62
analogous
#8562BC #B262BC #BC6299
triadic
#B262BC #BCB262 #62BCB2
tetradic
#B262BC #BC8562 #6CBC62 #6299BC
square
#B262BC #BC8562 #6CBC62 #6299BC
split-complementary
#B262BC #99BC62 #62BC85
monochromatic
#6B3173 #94439E #B262BC #C78DCE #DCB8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B262BC#FFFFFF#000000##000000
##B262BC1.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)
#567BBF
Deuteranopia (green-blind)
#6D84B9
Tritanopia (blue-blind)
#B56D86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b262bc;
/* rgb */ color: rgb(178, 98, 188);
/* oklch */ color: oklch(62.1% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#cb91d0',
    500: '#b262bc',
    950: '#000000',
  },
}
SCSS
$custom: #b262bc;
$custom-light: #cb91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b262bc",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 293.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.15561,
    "h": 323
  },
  "luminance": 0.21831
}

Semantic roles & 50–950 ramp

primary
#B262BC
secondary
#AECFAA
accent
#D05865
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B262BC

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

Preview Lab → · Contrast checker → · Palette generator →

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