#B262FD#B262FD

#B262FD is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.224 H 304.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B262FD
RGBrgb(178, 98, 253)
HSLhsl(271, 97%, 69%)
HSVhsv(271, 61%, 99%)
CMYKcmyk(29.6%, 61.3%, 0%, 0.8%)
CIE-LABlab(57.36, 59.90, -65.07)
CIE-LCHlch(57.36, 88.44, 312.63°)
OKLaboklab(65.82% 0.1277 -0.1842)
OKLCHoklch(65.82% 0.224 304.7)
XYZxyz(40.4535, 25.2924, 95.6602)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262FD #ADFD62
analogous
#6562FD #B262FD #FD62FA
triadic
#B262FD #FDB262 #62FDB2
tetradic
#B262FD #FD6562 #ADFD62 #62FAFD
square
#B262FD #FD6562 #ADFD62 #62FAFD
split-complementary
#B262FD #FAFD62 #62FD65
monochromatic
#7603E2 #9426FC #B262FD #D09EFE #EDDBFF

Accessibility & contrast

On white

3.47
#B262FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B262FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262FD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262FD#FFFFFF#000000##000000
##B262FD1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b262fd;
/* rgb */ color: rgb(178, 98, 253);
/* oklch */ color: oklch(65.8% 0.224 304.7);
Tailwind
colors: {
  custom: {
    50: '#cd93ff',
    500: '#b262fd',
    950: '#000000',
  },
}
SCSS
$custom: #b262fd;
$custom-light: #cd93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b262fd",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 270.968,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.22417,
    "h": 304.7
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#B262FD
secondary
#DDF4C6
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B262FD

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

Preview Lab → · Contrast checker → · Palette generator →

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