#B262F8#B262F8

#B262F8 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.219 H 305.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B262F8
RGBrgb(178, 98, 248)
HSLhsl(272, 91%, 68%)
HSVhsv(272, 60%, 97%)
CMYKcmyk(28.2%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.05, 58.77, -62.79)
CIE-LCHlch(57.05, 86.00, 313.10°)
OKLaboklab(65.51% 0.1279 -0.1775)
OKLCHoklch(65.51% 0.219 305.8)
XYZxyz(39.6674, 24.9780, 91.5202)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262F8 #A8F862
analogous
#6762F8 #B262F8 #F862F3
triadic
#B262F8 #F8B262 #62F8B2
tetradic
#B262F8 #F86762 #A8F862 #62F3F8
square
#B262F8 #F86762 #A8F862 #62F3F8
split-complementary
#B262F8 #F3F862 #62F867
monochromatic
#770AD6 #9527F5 #B262F8 #CF9DFB #EBD7FD

Accessibility & contrast

On white

3.50
#B262F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B262F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262F8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262F8#FFFFFF#000000##000000
##B262F81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D86FD
Deuteranopia (green-blind)
#4289F5
Tritanopia (blue-blind)
#A680A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b262f8;
/* rgb */ color: rgb(178, 98, 248);
/* oklch */ color: oklch(65.5% 0.219 305.8);
Tailwind
colors: {
  custom: {
    50: '#cd92fb',
    500: '#b262f8',
    950: '#000000',
  },
}
SCSS
$custom: #b262f8;
$custom-light: #cd92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b262f8",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 272,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.21882,
    "h": 305.8
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#B262F8
secondary
#D9F2C4
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B262F8

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

Preview Lab → · Contrast checker → · Palette generator →

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