#B262CB#B262CB

#B262CB is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.9% C 0.171 H 317.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B262CB
RGBrgb(178, 98, 203)
HSLhsl(286, 50%, 59%)
HSVhsv(286, 52%, 80%)
CMYKcmyk(12.3%, 51.7%, 0%, 20.4%)
CIE-LABlab(54.57, 49.04, -41.45)
CIE-LCHlch(54.57, 64.21, 319.79°)
OKLaboklab(62.88% 0.1263 -0.1152)
OKLCHoklch(62.88% 0.171 317.6)
XYZxyz(33.5058, 22.5133, 59.0689)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262CB #7BCB62
analogous
#7E62CB #B262CB #CB62B0
triadic
#B262CB #CBB262 #62CBB2
tetradic
#B262CB #CB7E62 #7BCB62 #62B0CB
square
#B262CB #CB7E62 #7BCB62 #62B0CB
split-complementary
#B262CB #B0CB62 #62CB7E
monochromatic
#712C86 #973CB4 #B262CB #C990DA #DFBEE9

Accessibility & contrast

On white

3.82
#B262CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B262CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262CB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262CB#FFFFFF#000000##000000
##B262CB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCF
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#B2728D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b262cb;
/* rgb */ color: rgb(178, 98, 203);
/* oklch */ color: oklch(62.9% 0.171 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb91db',
    500: '#b262cb',
    950: '#000000',
  },
}
SCSS
$custom: #b262cb;
$custom-light: #cb91db;
$custom-dark: #000000;
JSON
{
  "hex": "#b262cb",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 285.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.17095,
    "h": 317.6
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#B262CB
secondary
#BAD9B0
accent
#DA4E6F
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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