#B262C8#B262C8

#B262C8 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.7% C 0.168 H 318.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B262C8
RGBrgb(178, 98, 200)
HSLhsl(287, 48%, 58%)
HSVhsv(287, 51%, 78%)
CMYKcmyk(11%, 51%, 0%, 21.6%)
CIE-LABlab(54.42, 48.43, -39.97)
CIE-LCHlch(54.42, 62.79, 320.47°)
OKLaboklab(62.72% 0.126 -0.1109)
OKLCHoklch(62.72% 0.168 318.6)
XYZxyz(33.1517, 22.3717, 57.2043)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262C8 #78C862
analogous
#7F62C8 #B262C8 #C862AB
triadic
#B262C8 #C8B262 #62C8B2
tetradic
#B262C8 #C87F62 #78C862 #62ABC8
square
#B262C8 #C87F62 #78C862 #62ABC8
split-complementary
#B262C8 #ABC862 #62C87F
monochromatic
#702E82 #973DAF #B262C8 #C88FD8 #DEBDE8

Accessibility & contrast

On white

3.84
#B262C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B262C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262C8#FFFFFF#000000##000000
##B262C81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCB
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#B2718C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b262c8;
/* rgb */ color: rgb(178, 98, 200);
/* oklch */ color: oklch(62.7% 0.168 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb91d9',
    500: '#b262c8',
    950: '#000000',
  },
}
SCSS
$custom: #b262c8;
$custom-light: #cb91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b262c8",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 287.059,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.16783,
    "h": 318.6
  },
  "luminance": 0.2237
}

Semantic roles & 50–950 ramp

primary
#B262C8
secondary
#B7D7AF
accent
#D8506D
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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