#B062E4#B062E4

#B062E4 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.197 H 309.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B062E4
RGBrgb(176, 98, 228)
HSLhsl(276, 71%, 64%)
HSVhsv(276, 57%, 89%)
CMYKcmyk(22.8%, 57%, 0%, 10.6%)
CIE-LABlab(55.65, 53.83, -53.89)
CIE-LCHlch(55.65, 76.17, 314.97°)
OKLaboklab(64.06% 0.1255 -0.1515)
OKLCHoklch(64.06% 0.197 309.6)
XYZxyz(36.2731, 23.5675, 76.0219)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062E4 #96E462
analogous
#6F62E4 #B062E4 #E462D7
triadic
#B062E4 #E4B062 #62E4B0
tetradic
#B062E4 #E46F62 #96E462 #62D7E4
square
#B062E4 #E46F62 #96E462 #62D7E4
split-complementary
#B062E4 #D7E462 #62E46F
monochromatic
#741EAE #962EDB #B062E4 #CA96ED #E5CAF6

Accessibility & contrast

On white

3.68
#B062E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B062E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062E4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062E4#FFFFFF#000000##000000
##B062E41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#A97A9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b062e4;
/* rgb */ color: rgb(176, 98, 228);
/* oklch */ color: oklch(64.1% 0.197 309.6);
Tailwind
colors: {
  custom: {
    50: '#cb92ed',
    500: '#b062e4',
    950: '#000000',
  },
}
SCSS
$custom: #b062e4;
$custom-light: #cb92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b062e4",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 276,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.19674,
    "h": 309.6
  },
  "luminance": 0.23567
}

Semantic roles & 50–950 ramp

primary
#B062E4
secondary
#CCE8BA
accent
#D31360
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062E4

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

Preview Lab → · Contrast checker → · Palette generator →

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