#B262F5#B262F5

#B262F5 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.216 H 306.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B262F5
RGBrgb(178, 98, 245)
HSLhsl(273, 88%, 67%)
HSVhsv(273, 60%, 96%)
CMYKcmyk(27.3%, 60%, 0%, 3.9%)
CIE-LABlab(56.87, 58.09, -61.42)
CIE-LCHlch(56.87, 84.54, 313.40°)
OKLaboklab(65.32% 0.128 -0.1735)
OKLCHoklch(65.32% 0.216 306.4)
XYZxyz(39.2057, 24.7933, 89.0887)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262F5 #A5F562
analogous
#6962F5 #B262F5 #F562EF
triadic
#B262F5 #F5B262 #62F5B2
tetradic
#B262F5 #F56962 #A5F562 #62EFF5
square
#B262F5 #F56962 #A5F562 #62EFF5
split-complementary
#B262F5 #EFF562 #62F569
monochromatic
#770DCF #9628F1 #B262F5 #CE9CF9 #EAD5FC

Accessibility & contrast

On white

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

On black

5.96
#B262F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262F5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262F5#FFFFFF#000000##000000
##B262F51.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FA
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#A77FA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b262f5;
/* rgb */ color: rgb(178, 98, 245);
/* oklch */ color: oklch(65.3% 0.216 306.4);
Tailwind
colors: {
  custom: {
    50: '#cd92f9',
    500: '#b262f5',
    950: '#000000',
  },
}
SCSS
$custom: #b262f5;
$custom-light: #cd92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b262f5",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 272.653,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.21561,
    "h": 306.4
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

primary
#B262F5
secondary
#D7F1C2
accent
#E50169
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B262F5

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

Preview Lab → · Contrast checker → · Palette generator →

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