#B062E8#B062E8

#B062E8 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.201 H 308.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B062E8
RGBrgb(176, 98, 232)
HSLhsl(275, 74%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24.1%, 57.8%, 0%, 9%)
CIE-LABlab(55.88, 54.71, -55.77)
CIE-LCHlch(55.88, 78.13, 314.45°)
OKLaboklab(64.3% 0.1256 -0.157)
OKLCHoklch(64.3% 0.201 308.7)
XYZxyz(36.8348, 23.7922, 78.9802)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062E8 #9AE862
analogous
#6D62E8 #B062E8 #E862DD
triadic
#B062E8 #E8B062 #62E8B0
tetradic
#B062E8 #E86D62 #9AE862 #62DDE8
square
#B062E8 #E86D62 #9AE862 #62DDE8
split-complementary
#B062E8 #DDE862 #62E86D
monochromatic
#741BB5 #952DE0 #B062E8 #CB97F0 #E6CDF8

Accessibility & contrast

On white

3.65
#B062E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B062E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062E8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062E8#FFFFFF#000000##000000
##B062E81.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#A87B9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b062e8;
/* rgb */ color: rgb(176, 98, 232);
/* oklch */ color: oklch(64.3% 0.201 308.7);
Tailwind
colors: {
  custom: {
    50: '#cb92f0',
    500: '#b062e8',
    950: '#000000',
  },
}
SCSS
$custom: #b062e8;
$custom-light: #cb92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b062e8",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 274.925,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.20105,
    "h": 308.7
  },
  "luminance": 0.23792
}

Semantic roles & 50–950 ramp

primary
#B062E8
secondary
#CFEABC
accent
#D70F62
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062E8

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

Preview Lab → · Contrast checker → · Palette generator →

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