#B062E5#B062E5

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

Color values

HEX#B062E5
RGBrgb(176, 98, 229)
HSLhsl(276, 72%, 64%)
HSVhsv(276, 57%, 90%)
CMYKcmyk(23.1%, 57.2%, 0%, 10.2%)
CIE-LABlab(55.71, 54.05, -54.36)
CIE-LCHlch(55.71, 76.66, 314.84°)
OKLaboklab(64.12% 0.1255 -0.1529)
OKLCHoklch(64.12% 0.198 309.4)
XYZxyz(36.4123, 23.6232, 76.7551)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062E5 #97E562
analogous
#6F62E5 #B062E5 #E562D9
triadic
#B062E5 #E5B062 #62E5B0
tetradic
#B062E5 #E56F62 #97E562 #62D9E5
square
#B062E5 #E56F62 #97E562 #62D9E5
split-complementary
#B062E5 #D9E562 #62E56F
monochromatic
#741DB0 #962DDC #B062E5 #CA97EE #E5CBF6

Accessibility & contrast

On white

3.67
#B062E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B062E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062E5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062E5#FFFFFF#000000##000000
##B062E51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#A97A9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b062e5;
/* rgb */ color: rgb(176, 98, 229);
/* oklch */ color: oklch(64.1% 0.198 309.4);
Tailwind
colors: {
  custom: {
    50: '#cb92ee',
    500: '#b062e5',
    950: '#000000',
  },
}
SCSS
$custom: #b062e5;
$custom-light: #cb92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b062e5",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 275.725,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.19781,
    "h": 309.4
  },
  "luminance": 0.23623
}

Semantic roles & 50–950 ramp

primary
#B062E5
secondary
#CDE8BB
accent
#D41260
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062E5

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

Preview Lab → · Contrast checker → · Palette generator →

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