#B262BF#B262BF

#B262BF is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.3% C 0.159 H 321.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B262BF
RGBrgb(178, 98, 191)
HSLhsl(292, 42%, 57%)
HSVhsv(292, 49%, 75%)
CMYKcmyk(6.8%, 48.7%, 0%, 25.1%)
CIE-LABlab(53.99, 46.64, -35.49)
CIE-LCHlch(53.99, 58.60, 322.73°)
OKLaboklab(62.26% 0.1248 -0.098)
OKLCHoklch(62.26% 0.159 321.9)
XYZxyz(32.1307, 21.9633, 51.8270)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262BF #6FBF62
analogous
#8462BF #B262BF #BF629E
triadic
#B262BF #BFB262 #62BFB2
tetradic
#B262BF #BF8462 #6FBF62 #629EBF
square
#B262BF #BF8462 #6FBF62 #629EBF
split-complementary
#B262BF #9EBF62 #62BF84
monochromatic
#6D3076 #9442A2 #B262BF #C78DD1 #DDB9E2

Accessibility & contrast

On white

3.89
#B262BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B262BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262BF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262BF#FFFFFF#000000##000000
##B262BF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#B46E88
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b262bf;
/* rgb */ color: rgb(178, 98, 191);
/* oklch */ color: oklch(62.3% 0.159 321.9);
Tailwind
colors: {
  custom: {
    50: '#cb91d2',
    500: '#b262bf',
    950: '#000000',
  },
}
SCSS
$custom: #b262bf;
$custom-light: #cb91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b262bf",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 291.613,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62264,
    "c": 0.15863,
    "h": 321.9
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#B262BF
secondary
#B1D1AB
accent
#D25667
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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