#B262E9#B262E9

#B262E9 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.6% C 0.203 H 309.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B262E9
RGBrgb(178, 98, 233)
HSLhsl(276, 75%, 65%)
HSVhsv(276, 58%, 91%)
CMYKcmyk(23.6%, 57.9%, 0%, 8.6%)
CIE-LABlab(56.17, 55.41, -55.85)
CIE-LCHlch(56.17, 78.68, 314.78°)
OKLaboklab(64.58% 0.1281 -0.1572)
OKLCHoklch(64.58% 0.203 309.2)
XYZxyz(37.4329, 24.0842, 79.7517)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262E9 #99E962
analogous
#6F62E9 #B262E9 #E962DC
triadic
#B262E9 #E9B262 #62E9B2
tetradic
#B262E9 #E96F62 #99E962 #62DCE9
square
#B262E9 #E96F62 #99E962 #62DCE9
split-complementary
#B262E9 #DCE962 #62E96F
monochromatic
#771AB7 #982CE1 #B262E9 #CC98F1 #E7CDF8

Accessibility & contrast

On white

3.61
#B262E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B262E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262E9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262E9#FFFFFF#000000##000000
##B262E91.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083ED
Deuteranopia (green-blind)
#5188E6
Tritanopia (blue-blind)
#AA7B9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b262e9;
/* rgb */ color: rgb(178, 98, 233);
/* oklch */ color: oklch(64.6% 0.203 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc92f1',
    500: '#b262e9',
    950: '#000000',
  },
}
SCSS
$custom: #b262e9;
$custom-light: #cc92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b262e9",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 275.556,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.20275,
    "h": 309.2
  },
  "luminance": 0.24084
}

Semantic roles & 50–950 ramp

primary
#B262E9
secondary
#CFEABC
accent
#D80E60
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B262E9

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

Preview Lab → · Contrast checker → · Palette generator →

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