#B262EB#B262EB

#B262EB is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.7% C 0.205 H 308.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B262EB
RGBrgb(178, 98, 235)
HSLhsl(275, 77%, 65%)
HSVhsv(275, 58%, 92%)
CMYKcmyk(24.3%, 58.3%, 0%, 7.8%)
CIE-LABlab(56.29, 55.86, -56.78)
CIE-LCHlch(56.29, 79.65, 314.53°)
OKLaboklab(64.7% 0.1281 -0.1599)
OKLCHoklch(64.7% 0.205 308.7)
XYZxyz(37.7202, 24.1991, 81.2649)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262EB #9BEB62
analogous
#6D62EB #B262EB #EB62E0
triadic
#B262EB #EBB262 #62EBB2
tetradic
#B262EB #EB6D62 #9BEB62 #62E0EB
square
#B262EB #EB6D62 #9BEB62 #62E0EB
split-complementary
#B262EB #E0EB62 #62EB6D
monochromatic
#7718BB #972CE4 #B262EB #CD98F2 #E7CFF9

Accessibility & contrast

On white

3.60
#B262EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B262EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262EB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262EB#FFFFFF#000000##000000
##B262EB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#AA7C9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b262eb;
/* rgb */ color: rgb(178, 98, 235);
/* oklch */ color: oklch(64.7% 0.205 308.7);
Tailwind
colors: {
  custom: {
    50: '#cc92f2',
    500: '#b262eb',
    950: '#000000',
  },
}
SCSS
$custom: #b262eb;
$custom-light: #cc92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b262eb",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 275.036,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.647,
    "c": 0.20489,
    "h": 308.7
  },
  "luminance": 0.24199
}

Semantic roles & 50–950 ramp

primary
#B262EB
secondary
#D1EBBD
accent
#DA0C61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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