#B262CD#B262CD

#B262CD is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.0% C 0.173 H 317.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B262CD
RGBrgb(178, 98, 205)
HSLhsl(285, 52%, 59%)
HSVhsv(285, 52%, 80%)
CMYKcmyk(13.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(54.67, 49.45, -42.43)
CIE-LCHlch(54.67, 65.16, 319.37°)
OKLaboklab(62.99% 0.1265 -0.118)
OKLCHoklch(62.99% 0.173 317)
XYZxyz(33.7456, 22.6093, 60.3322)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262CD #7DCD62
analogous
#7D62CD #B262CD #CD62B3
triadic
#B262CD #CDB262 #62CDB2
tetradic
#B262CD #CD7D62 #7DCD62 #62B3CD
square
#B262CD #CD7D62 #7DCD62 #62B3CD
split-complementary
#B262CD #B3CD62 #62CD7D
monochromatic
#712C89 #983AB7 #B262CD #C990DC #E0BFEB

Accessibility & contrast

On white

3.80
#B262CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B262CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262CD#FFFFFF#000000##000000
##B262CD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b262cd;
/* rgb */ color: rgb(178, 98, 205);
/* oklch */ color: oklch(63.0% 0.173 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb92dd',
    500: '#b262cd',
    950: '#000000',
  },
}
SCSS
$custom: #b262cd;
$custom-light: #cb92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b262cd",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 284.86,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62988,
    "c": 0.17303,
    "h": 317
  },
  "luminance": 0.22608
}

Semantic roles & 50–950 ramp

primary
#B262CD
secondary
#BBDAB1
accent
#DB4D71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262CD

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

Preview Lab → · Contrast checker → · Palette generator →

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