#B262F0#B262F0

#B262F0 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.0% C 0.210 H 307.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B262F0
RGBrgb(178, 98, 240)
HSLhsl(274, 83%, 66%)
HSVhsv(274, 59%, 94%)
CMYKcmyk(25.8%, 59.2%, 0%, 5.9%)
CIE-LABlab(56.58, 56.97, -59.11)
CIE-LCHlch(56.58, 82.09, 313.94°)
OKLaboklab(65.01% 0.1281 -0.1667)
OKLCHoklch(65.01% 0.21 307.5)
XYZxyz(38.4527, 24.4921, 85.1229)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262F0 #A0F062
analogous
#6B62F0 #B262F0 #F062E7
triadic
#B262F0 #F0B262 #62F0B2
tetradic
#B262F0 #F06B62 #A0F062 #62E7F0
square
#B262F0 #F06B62 #A0F062 #62E7F0
split-complementary
#B262F0 #E7F062 #62F06B
monochromatic
#7713C5 #972AEB #B262F0 #CD9AF5 #E9D2FB

Accessibility & contrast

On white

3.56
#B262F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B262F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262F0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262F0#FFFFFF#000000##000000
##B262F01.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F5
Deuteranopia (green-blind)
#4B88ED
Tritanopia (blue-blind)
#A87EA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b262f0;
/* rgb */ color: rgb(178, 98, 240);
/* oklch */ color: oklch(65.0% 0.210 307.5);
Tailwind
colors: {
  custom: {
    50: '#cd92f6',
    500: '#b262f0',
    950: '#000000',
  },
}
SCSS
$custom: #b262f0;
$custom-light: #cd92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b262f0",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 273.803,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.21025,
    "h": 307.5
  },
  "luminance": 0.24492
}

Semantic roles & 50–950 ramp

primary
#B262F0
secondary
#D4EEC0
accent
#DF0765
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B262F0

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

Preview Lab → · Contrast checker → · Palette generator →

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