#B262FE#B262FE

#B262FE is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.225 H 304.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B262FE
RGBrgb(178, 98, 254)
HSLhsl(271, 99%, 69%)
HSVhsv(271, 61%, 100%)
CMYKcmyk(29.9%, 61.4%, 0%, 0.4%)
CIE-LABlab(57.42, 60.13, -65.52)
CIE-LCHlch(57.42, 88.93, 312.54°)
OKLaboklab(65.89% 0.1277 -0.1855)
OKLCHoklch(65.89% 0.225 304.5)
XYZxyz(40.6132, 25.3563, 96.5014)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262FE #AEFE62
analogous
#6462FE #B262FE #FE62FC
triadic
#B262FE #FEB262 #62FEB2
tetradic
#B262FE #FE6462 #AEFE62 #62FCFE
square
#B262FE #FE6462 #AEFE62 #62FCFE
split-complementary
#B262FE #FCFE62 #62FE64
monochromatic
#7601E4 #9425FE #B262FE #D09FFE #EEDCFF

Accessibility & contrast

On white

3.46
#B262FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B262FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262FE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262FE#FFFFFF#000000##000000
##B262FE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3A8AFA
Tritanopia (blue-blind)
#A482A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b262fe;
/* rgb */ color: rgb(178, 98, 254);
/* oklch */ color: oklch(65.9% 0.225 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd93ff',
    500: '#b262fe',
    950: '#000000',
  },
}
SCSS
$custom: #b262fe;
$custom-light: #cd93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b262fe",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 270.769,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65888,
    "c": 0.22524,
    "h": 304.5
  },
  "luminance": 0.25356
}

Semantic roles & 50–950 ramp

primary
#B262FE
secondary
#DDF5C7
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B262FE

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

Preview Lab → · Contrast checker → · Palette generator →

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