#B262F6#B262F6

#B262F6 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.217 H 306.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B262F6
RGBrgb(178, 98, 246)
HSLhsl(272, 89%, 67%)
HSVhsv(272, 60%, 96%)
CMYKcmyk(27.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(56.93, 58.31, -61.88)
CIE-LCHlch(56.93, 85.02, 313.30°)
OKLaboklab(65.38% 0.128 -0.1748)
OKLCHoklch(65.38% 0.217 306.2)
XYZxyz(39.3588, 24.8545, 89.8948)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262F6 #A6F662
analogous
#6862F6 #B262F6 #F662F0
triadic
#B262F6 #F6B262 #62F6B2
tetradic
#B262F6 #F66862 #A6F662 #62F0F6
square
#B262F6 #F66862 #A6F662 #62F0F6
split-complementary
#B262F6 #F0F662 #62F668
monochromatic
#770CD2 #9628F3 #B262F6 #CE9CF9 #EBD6FD

Accessibility & contrast

On white

3.52
#B262F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B262F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262F6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262F6#FFFFFF#000000##000000
##B262F61.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1586FB
Deuteranopia (green-blind)
#4489F3
Tritanopia (blue-blind)
#A780A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b262f6;
/* rgb */ color: rgb(178, 98, 246);
/* oklch */ color: oklch(65.4% 0.217 306.2);
Tailwind
colors: {
  custom: {
    50: '#cd92fa',
    500: '#b262f6',
    950: '#000000',
  },
}
SCSS
$custom: #b262f6;
$custom-light: #cd92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b262f6",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 272.432,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65379,
    "c": 0.21668,
    "h": 306.2
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#B262F6
secondary
#D8F1C3
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B262F6

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

Preview Lab → · Contrast checker → · Palette generator →

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