#B262EF#B262EF

#B262EF is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.209 H 307.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B262EF
RGBrgb(178, 98, 239)
HSLhsl(274, 82%, 66%)
HSVhsv(274, 59%, 94%)
CMYKcmyk(25.5%, 59%, 0%, 6.3%)
CIE-LABlab(56.52, 56.74, -58.65)
CIE-LCHlch(56.52, 81.60, 314.06°)
OKLaboklab(64.94% 0.1281 -0.1654)
OKLCHoklch(64.94% 0.209 307.8)
XYZxyz(38.3046, 24.4328, 84.3427)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262EF #9FEF62
analogous
#6B62EF #B262EF #EF62E5
triadic
#B262EF #EFB262 #62EFB2
tetradic
#B262EF #EF6B62 #9FEF62 #62E5EF
square
#B262EF #EF6B62 #9FEF62 #62E5EF
split-complementary
#B262EF #E5EF62 #62EF6B
monochromatic
#7714C3 #972AE9 #B262EF #CD9AF5 #E8D1FA

Accessibility & contrast

On white

3.57
#B262EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B262EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262EF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262EF#FFFFFF#000000##000000
##B262EF1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F3
Deuteranopia (green-blind)
#4C88EC
Tritanopia (blue-blind)
#A97D9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b262ef;
/* rgb */ color: rgb(178, 98, 239);
/* oklch */ color: oklch(64.9% 0.209 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd92f5',
    500: '#b262ef',
    950: '#000000',
  },
}
SCSS
$custom: #b262ef;
$custom-light: #cd92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ef",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 274.043,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.20918,
    "h": 307.8
  },
  "luminance": 0.24432
}

Semantic roles & 50–950 ramp

primary
#B262EF
secondary
#D3EEBF
accent
#DE0864
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B262EF

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

Preview Lab → · Contrast checker → · Palette generator →

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