#B262CE#B262CE

#B262CE is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.0% C 0.174 H 316.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B262CE
RGBrgb(178, 98, 206)
HSLhsl(284, 52%, 60%)
HSVhsv(284, 52%, 81%)
CMYKcmyk(13.6%, 52.4%, 0%, 19.2%)
CIE-LABlab(54.72, 49.65, -42.92)
CIE-LCHlch(54.72, 65.63, 319.16°)
OKLaboklab(63.04% 0.1266 -0.1195)
OKLCHoklch(63.04% 0.174 316.7)
XYZxyz(33.8667, 22.6577, 60.9699)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262CE #7ECE62
analogous
#7C62CE #B262CE #CE62B4
triadic
#B262CE #CEB262 #62CEB2
tetradic
#B262CE #CE7C62 #7ECE62 #62B4CE
square
#B262CE #CE7C62 #7ECE62 #62B4CE
split-complementary
#B262CE #B4CE62 #62CE7C
monochromatic
#722B8A #983AB9 #B262CE #C991DD #E0BFEB

Accessibility & contrast

On white

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

On black

5.53
#B262CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262CE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262CE#FFFFFF#000000##000000
##B262CE1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#6485CB
Tritanopia (blue-blind)
#B1738F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b262ce;
/* rgb */ color: rgb(178, 98, 206);
/* oklch */ color: oklch(63.0% 0.174 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb92dd',
    500: '#b262ce',
    950: '#000000',
  },
}
SCSS
$custom: #b262ce;
$custom-light: #cb92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ce",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 284.444,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.17408,
    "h": 316.7
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#B262CE
secondary
#BCDBB1
accent
#DC4C71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262CE

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

Preview Lab → · Contrast checker → · Palette generator →

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