#B062E9#B062E9

#B062E9 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.202 H 308.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B062E9
RGBrgb(176, 98, 233)
HSLhsl(275, 75%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24.5%, 57.9%, 0%, 8.6%)
CIE-LABlab(55.94, 54.94, -56.24)
CIE-LCHlch(55.94, 78.62, 314.33°)
OKLaboklab(64.36% 0.1256 -0.1584)
OKLCHoklch(64.36% 0.202 308.4)
XYZxyz(36.9772, 23.8492, 79.7304)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062E9 #9BE962
analogous
#6D62E9 #B062E9 #E962DE
triadic
#B062E9 #E9B062 #62E9B0
tetradic
#B062E9 #E96D62 #9BE962 #62DEE9
square
#B062E9 #E96D62 #9BE962 #62DEE9
split-complementary
#B062E9 #DEE962 #62E96D
monochromatic
#751AB7 #952CE1 #B062E9 #CB98F1 #E6CDF8

Accessibility & contrast

On white

3.64
#B062E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B062E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062E9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062E9#FFFFFF#000000##000000
##B062E91.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83ED
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#A87C9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b062e9;
/* rgb */ color: rgb(176, 98, 233);
/* oklch */ color: oklch(64.4% 0.202 308.4);
Tailwind
colors: {
  custom: {
    50: '#cb92f1',
    500: '#b062e9',
    950: '#000000',
  },
}
SCSS
$custom: #b062e9;
$custom-light: #cb92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b062e9",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 274.667,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.20213,
    "h": 308.4
  },
  "luminance": 0.23849
}

Semantic roles & 50–950 ramp

primary
#B062E9
secondary
#D0EABC
accent
#D80E63
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062E9

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

Preview Lab → · Contrast checker → · Palette generator →

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