#B262F1#B262F1

#B262F1 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.211 H 307.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B262F1
RGBrgb(178, 98, 241)
HSLhsl(274, 84%, 66%)
HSVhsv(274, 59%, 95%)
CMYKcmyk(26.1%, 59.3%, 0%, 5.5%)
CIE-LABlab(56.64, 57.19, -59.57)
CIE-LCHlch(56.64, 82.58, 313.83°)
OKLaboklab(65.07% 0.1281 -0.1681)
OKLCHoklch(65.07% 0.211 307.3)
XYZxyz(38.6017, 24.5517, 85.9074)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262F1 #A1F162
analogous
#6B62F1 #B262F1 #F162E9
triadic
#B262F1 #F1B262 #62F1B2
tetradic
#B262F1 #F16B62 #A1F162 #62E9F1
square
#B262F1 #F16B62 #A1F162 #62E9F1
split-complementary
#B262F1 #E9F162 #62F16B
monochromatic
#7712C7 #962AEC #B262F1 #CE9AF6 #E9D2FB

Accessibility & contrast

On white

3.55
#B262F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B262F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262F1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262F1#FFFFFF#000000##000000
##B262F11.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F6
Deuteranopia (green-blind)
#4A89EE
Tritanopia (blue-blind)
#A87EA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b262f1;
/* rgb */ color: rgb(178, 98, 241);
/* oklch */ color: oklch(65.1% 0.211 307.3);
Tailwind
colors: {
  custom: {
    50: '#cd92f6',
    500: '#b262f1',
    950: '#000000',
  },
}
SCSS
$custom: #b262f1;
$custom-light: #cd92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b262f1",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 273.566,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65067,
    "c": 0.21132,
    "h": 307.3
  },
  "luminance": 0.24551
}

Semantic roles & 50–950 ramp

primary
#B262F1
secondary
#D5EFC0
accent
#E00566
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B262F1

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

Preview Lab → · Contrast checker → · Palette generator →

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