#B262C2#B262C2

#B262C2 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.4% C 0.162 H 320.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B262C2
RGBrgb(178, 98, 194)
HSLhsl(290, 44%, 57%)
HSVhsv(290, 49%, 76%)
CMYKcmyk(8.2%, 49.5%, 0%, 23.9%)
CIE-LABlab(54.13, 47.23, -36.99)
CIE-LCHlch(54.13, 59.99, 321.93°)
OKLaboklab(62.42% 0.1252 -0.1023)
OKLCHoklch(62.42% 0.162 320.8)
XYZxyz(32.4642, 22.0967, 53.5835)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262C2 #72C262
analogous
#8262C2 #B262C2 #C262A2
triadic
#B262C2 #C2B262 #62C2B2
tetradic
#B262C2 #C28262 #72C262 #62A2C2
square
#B262C2 #C28262 #72C262 #62A2C2
split-complementary
#B262C2 #A2C262 #62C282
monochromatic
#6E2F7A #9541A6 #B262C2 #C88ED3 #DDBAE4

Accessibility & contrast

On white

3.88
#B262C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B262C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262C2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262C2#FFFFFF#000000##000000
##B262C21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#6B84BF
Tritanopia (blue-blind)
#B36F89
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b262c2;
/* rgb */ color: rgb(178, 98, 194);
/* oklch */ color: oklch(62.4% 0.162 320.8);
Tailwind
colors: {
  custom: {
    50: '#cb91d5',
    500: '#b262c2',
    950: '#000000',
  },
}
SCSS
$custom: #b262c2;
$custom-light: #cb91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b262c2",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 290,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62415,
    "c": 0.16167,
    "h": 320.8
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

primary
#B262C2
secondary
#B3D3AC
accent
#D45469
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B262C2

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

Preview Lab → · Contrast checker → · Palette generator →

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