#B062EB#B062EB

#B062EB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.5% C 0.204 H 307.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B062EB
RGBrgb(176, 98, 235)
HSLhsl(274, 77%, 65%)
HSVhsv(274, 58%, 92%)
CMYKcmyk(25.1%, 58.3%, 0%, 7.8%)
CIE-LABlab(56.05, 55.38, -57.17)
CIE-LCHlch(56.05, 79.60, 314.09°)
OKLaboklab(64.48% 0.1256 -0.1611)
OKLCHoklch(64.48% 0.204 307.9)
XYZxyz(37.2645, 23.9641, 81.2436)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062EB #9DEB62
analogous
#6C62EB #B062EB #EB62E1
triadic
#B062EB #EBB062 #62EBB0
tetradic
#B062EB #EB6C62 #9DEB62 #62E1EB
square
#B062EB #EB6C62 #9DEB62 #62E1EB
split-complementary
#B062EB #E1EB62 #62EB6C
monochromatic
#7518BB #952CE4 #B062EB #CB98F2 #E7CFF9

Accessibility & contrast

On white

3.63
#B062EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B062EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062EB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062EB#FFFFFF#000000##000000
##B062EB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#A77C9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b062eb;
/* rgb */ color: rgb(176, 98, 235);
/* oklch */ color: oklch(64.5% 0.204 307.9);
Tailwind
colors: {
  custom: {
    50: '#cb92f2',
    500: '#b062eb',
    950: '#000000',
  },
}
SCSS
$custom: #b062eb;
$custom-light: #cb92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b062eb",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 274.161,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64477,
    "c": 0.20429,
    "h": 307.9
  },
  "luminance": 0.23964
}

Semantic roles & 50–950 ramp

primary
#B062EB
secondary
#D1EBBD
accent
#DA0C64
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062EB

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

Preview Lab → · Contrast checker → · Palette generator →

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