#B262F3#B262F3

#B262F3 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.213 H 306.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B262F3
RGBrgb(178, 98, 243)
HSLhsl(273, 86%, 67%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(26.7%, 59.7%, 0%, 4.7%)
CIE-LABlab(56.75, 57.64, -60.50)
CIE-LCHlch(56.75, 83.56, 313.61°)
OKLaboklab(65.19% 0.128 -0.1708)
OKLCHoklch(65.19% 0.213 306.9)
XYZxyz(38.9021, 24.6718, 87.4894)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262F3 #A3F362
analogous
#6962F3 #B262F3 #F362EC
triadic
#B262F3 #F3B262 #62F3B2
tetradic
#B262F3 #F36962 #A3F362 #62ECF3
square
#B262F3 #F36962 #A3F362 #62ECF3
split-complementary
#B262F3 #ECF362 #62F369
monochromatic
#7710CB #9629EF #B262F3 #CE9BF7 #EAD4FC

Accessibility & contrast

On white

3.54
#B262F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B262F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262F3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262F3#FFFFFF#000000##000000
##B262F31.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E85F8
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#A87FA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b262f3;
/* rgb */ color: rgb(178, 98, 243);
/* oklch */ color: oklch(65.2% 0.213 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd92f8',
    500: '#b262f3',
    950: '#000000',
  },
}
SCSS
$custom: #b262f3;
$custom-light: #cd92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b262f3",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 273.103,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65191,
    "c": 0.21346,
    "h": 306.9
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#B262F3
secondary
#D6F0C1
accent
#E20367
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B262F3

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

Preview Lab → · Contrast checker → · Palette generator →

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