#B262CC#B262CC

#B262CC is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.9% C 0.172 H 317.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B262CC
RGBrgb(178, 98, 204)
HSLhsl(285, 51%, 59%)
HSVhsv(285, 52%, 80%)
CMYKcmyk(12.7%, 52%, 0%, 20%)
CIE-LABlab(54.62, 49.24, -41.94)
CIE-LCHlch(54.62, 64.68, 319.58°)
OKLaboklab(62.93% 0.1264 -0.1166)
OKLCHoklch(62.93% 0.172 317.3)
XYZxyz(33.6253, 22.5611, 59.6985)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262CC #7CCC62
analogous
#7D62CC #B262CC #CC62B1
triadic
#B262CC #CCB262 #62CCB2
tetradic
#B262CC #CC7D62 #7CCC62 #62B1CC
square
#B262CC #CC7D62 #7CCC62 #62B1CC
split-complementary
#B262CC #B1CC62 #62CC7D
monochromatic
#712C88 #983BB6 #B262CC #C990DB #DFBEEA

Accessibility & contrast

On white

3.81
#B262CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B262CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262CC#FFFFFF#000000##000000
##B262CC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#6585C9
Tritanopia (blue-blind)
#B1728E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b262cc;
/* rgb */ color: rgb(178, 98, 204);
/* oklch */ color: oklch(62.9% 0.172 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb92dc',
    500: '#b262cc',
    950: '#000000',
  },
}
SCSS
$custom: #b262cc;
$custom-light: #cb92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b262cc",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 285.283,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62935,
    "c": 0.17198,
    "h": 317.3
  },
  "luminance": 0.2256
}

Semantic roles & 50–950 ramp

primary
#B262CC
secondary
#BADAB0
accent
#DA4D70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262CC

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

Preview Lab → · Contrast checker → · Palette generator →

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