#B262B4#B262B4

#B262B4 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.7% C 0.148 H 326.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B262B4
RGBrgb(178, 98, 180)
HSLhsl(299, 35%, 55%)
HSVhsv(299, 46%, 71%)
CMYKcmyk(1.1%, 45.6%, 0%, 29.4%)
CIE-LABlab(53.49, 44.52, -29.92)
CIE-LCHlch(53.49, 53.64, 326.10°)
OKLaboklab(61.73% 0.1229 -0.082)
OKLCHoklch(61.73% 0.148 326.3)
XYZxyz(30.9654, 21.4972, 45.6895)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262B4 #64B462
analogous
#8962B4 #B262B4 #B4628D
triadic
#B262B4 #B4B262 #62B4B2
tetradic
#B262B4 #B48962 #64B462 #628DB4
square
#B262B4 #B48962 #64B462 #628DB4
split-complementary
#B262B4 #8DB462 #62B489
monochromatic
#683269 #914693 #B262B4 #C68BC8 #DBB5DC

Accessibility & contrast

On white

3.96
#B262B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B262B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262B4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262B4#FFFFFF#000000##000000
##B262B41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B7
Deuteranopia (green-blind)
#7183B1
Tritanopia (blue-blind)
#B66B83
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b262b4;
/* rgb */ color: rgb(178, 98, 180);
/* oklch */ color: oklch(61.7% 0.148 326.3);
Tailwind
colors: {
  custom: {
    50: '#cb91ca',
    500: '#b262b4',
    950: '#000000',
  },
}
SCSS
$custom: #b262b4;
$custom-light: #cb91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b262b4",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 298.537,
    "s": 35.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61731,
    "c": 0.14776,
    "h": 326.3
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#B262B4
secondary
#A8CAA8
accent
#CB5C5F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B262B4

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

Preview Lab → · Contrast checker → · Palette generator →

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