#B262D2#B262D2

#B262D2 is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.3% C 0.178 H 315.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B262D2
RGBrgb(178, 98, 210)
HSLhsl(283, 55%, 60%)
HSVhsv(283, 53%, 82%)
CMYKcmyk(15.2%, 53.3%, 0%, 17.6%)
CIE-LABlab(54.92, 50.48, -44.87)
CIE-LCHlch(54.92, 67.54, 318.37°)
OKLaboklab(63.26% 0.127 -0.1251)
OKLCHoklch(63.26% 0.178 315.4)
XYZxyz(34.3588, 22.8545, 63.5617)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262D2 #82D262
analogous
#7A62D2 #B262D2 #D262BA
triadic
#B262D2 #D2B262 #62D2B2
tetradic
#B262D2 #D27A62 #82D262 #62BAD2
square
#B262D2 #D27A62 #82D262 #62BAD2
split-complementary
#B262D2 #BAD262 #62D27A
monochromatic
#732990 #9937C0 #B262D2 #C992E0 #E1C1ED

Accessibility & contrast

On white

3.77
#B262D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B262D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262D2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262D2#FFFFFF#000000##000000
##B262D21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD6
Deuteranopia (green-blind)
#6286CF
Tritanopia (blue-blind)
#B07491
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b262d2;
/* rgb */ color: rgb(178, 98, 210);
/* oklch */ color: oklch(63.3% 0.178 315.4);
Tailwind
colors: {
  custom: {
    50: '#cb92e0',
    500: '#b262d2',
    950: '#000000',
  },
}
SCSS
$custom: #b262d2;
$custom-light: #cb92e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b262d2",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 282.857,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.17827,
    "h": 315.4
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

primary
#B262D2
secondary
#BFDDB3
accent
#C32350
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262D2

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

Preview Lab → · Contrast checker → · Palette generator →

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