#B262FF#B262FF

#B262FF is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.0% C 0.226 H 304.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B262FF
RGBrgb(178, 98, 255)
HSLhsl(271, 100%, 69%)
HSVhsv(271, 62%, 100%)
CMYKcmyk(30.2%, 61.6%, 0%, 0%)
CIE-LABlab(57.48, 60.36, -65.98)
CIE-LCHlch(57.48, 89.42, 312.45°)
OKLaboklab(65.95% 0.1276 -0.1869)
OKLCHoklch(65.95% 0.226 304.3)
XYZxyz(40.7737, 25.4205, 97.3470)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262FF #AFFF62
analogous
#6462FF #B262FF #FF62FE
triadic
#B262FF #FFB262 #62FFB2
tetradic
#B262FF #FF6462 #AFFF62 #62FEFF
square
#B262FF #FF6462 #AFFF62 #62FEFF
split-complementary
#B262FF #FEFF62 #62FF64
monochromatic
#7600E7 #9425FF #B262FF #D09FFF #EEDCFF

Accessibility & contrast

On white

3.45
#B262FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B262FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262FF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262FF#FFFFFF#000000##000000
##B262FF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#398AFB
Tritanopia (blue-blind)
#A483A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b262ff;
/* rgb */ color: rgb(178, 98, 255);
/* oklch */ color: oklch(66.0% 0.226 304.3);
Tailwind
colors: {
  custom: {
    50: '#ce93ff',
    500: '#b262ff',
    950: '#000000',
  },
}
SCSS
$custom: #b262ff;
$custom-light: #ce93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ff",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 270.573,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65953,
    "c": 0.2263,
    "h": 304.3
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#B262FF
secondary
#DEF5C8
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B262FF

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

Preview Lab → · Contrast checker → · Palette generator →

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