#B262C0#B262C0

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

Color values

HEX#B262C0
RGBrgb(178, 98, 192)
HSLhsl(291, 43%, 57%)
HSVhsv(291, 49%, 75%)
CMYKcmyk(7.3%, 49%, 0%, 24.7%)
CIE-LABlab(54.03, 46.83, -35.99)
CIE-LCHlch(54.03, 59.06, 322.46°)
OKLaboklab(62.31% 0.1249 -0.0994)
OKLCHoklch(62.31% 0.16 321.5)
XYZxyz(32.2411, 22.0075, 52.4085)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262C0 #70C062
analogous
#8362C0 #B262C0 #C0629F
triadic
#B262C0 #C0B262 #62C0B2
tetradic
#B262C0 #C08362 #70C062 #629FC0
square
#B262C0 #C08362 #70C062 #629FC0
split-complementary
#B262C0 #9FC062 #62C083
monochromatic
#6D3078 #9542A3 #B262C0 #C78ED2 #DDB9E3

Accessibility & contrast

On white

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

On black

5.40
#B262C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262C0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262C0#FFFFFF#000000##000000
##B262C01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b262c0;
/* rgb */ color: rgb(178, 98, 192);
/* oklch */ color: oklch(62.3% 0.160 321.5);
Tailwind
colors: {
  custom: {
    50: '#cb91d3',
    500: '#b262c0',
    950: '#000000',
  },
}
SCSS
$custom: #b262c0;
$custom-light: #cb91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b262c0",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 291.064,
    "s": 42.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.15965,
    "h": 321.5
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#B262C0
secondary
#B1D2AC
accent
#D35568
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B262C0

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

Preview Lab → · Contrast checker → · Palette generator →

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