#B262EE#B262EE

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

Color values

HEX#B262EE
RGBrgb(178, 98, 238)
HSLhsl(274, 80%, 66%)
HSVhsv(274, 59%, 93%)
CMYKcmyk(25.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(56.46, 56.52, -58.18)
CIE-LCHlch(56.46, 81.12, 314.17°)
OKLaboklab(64.88% 0.1281 -0.164)
OKLCHoklch(64.88% 0.208 308)
XYZxyz(38.1573, 24.3739, 83.5668)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262EE #9EEE62
analogous
#6C62EE #B262EE #EE62E4
triadic
#B262EE #EEB262 #62EEB2
tetradic
#B262EE #EE6C62 #9EEE62 #62E4EE
square
#B262EE #EE6C62 #9EEE62 #62E4EE
split-complementary
#B262EE #E4EE62 #62EE6C
monochromatic
#7715C1 #972BE8 #B262EE #CD99F4 #E8D0FA

Accessibility & contrast

On white

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

On black

5.87
#B262EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262EE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262EE#FFFFFF#000000##000000
##B262EE1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F2
Deuteranopia (green-blind)
#4D88EB
Tritanopia (blue-blind)
#A97D9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b262ee;
/* rgb */ color: rgb(178, 98, 238);
/* oklch */ color: oklch(64.9% 0.208 308.0);
Tailwind
colors: {
  custom: {
    50: '#cd92f4',
    500: '#b262ee',
    950: '#000000',
  },
}
SCSS
$custom: #b262ee;
$custom-light: #cd92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ee",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 274.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64882,
    "c": 0.2081,
    "h": 308
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#B262EE
secondary
#D3EDBF
accent
#DD0964
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B262EE

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

Preview Lab → · Contrast checker → · Palette generator →

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