#B062E7#B062E7

#B062E7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.2% C 0.200 H 308.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B062E7
RGBrgb(176, 98, 231)
HSLhsl(275, 73%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(23.8%, 57.6%, 0%, 9.4%)
CIE-LABlab(55.82, 54.49, -55.30)
CIE-LCHlch(55.82, 77.64, 314.58°)
OKLaboklab(64.24% 0.1256 -0.1556)
OKLCHoklch(64.24% 0.2 308.9)
XYZxyz(36.6931, 23.7356, 78.2342)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062E7 #99E762
analogous
#6E62E7 #B062E7 #E762DC
triadic
#B062E7 #E7B062 #62E7B0
tetradic
#B062E7 #E76E62 #99E762 #62DCE7
square
#B062E7 #E76E62 #99E762 #62DCE7
split-complementary
#B062E7 #DCE762 #62E76E
monochromatic
#741BB3 #952DDF #B062E7 #CB97EF #E5CCF7

Accessibility & contrast

On white

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

On black

5.75
#B062E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062E7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062E7#FFFFFF#000000##000000
##B062E71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EB
Deuteranopia (green-blind)
#5187E4
Tritanopia (blue-blind)
#A87B9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b062e7;
/* rgb */ color: rgb(176, 98, 231);
/* oklch */ color: oklch(64.2% 0.200 308.9);
Tailwind
colors: {
  custom: {
    50: '#cb92ef',
    500: '#b062e7',
    950: '#000000',
  },
}
SCSS
$custom: #b062e7;
$custom-light: #cb92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b062e7",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 275.188,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.19997,
    "h": 308.9
  },
  "luminance": 0.23735
}

Semantic roles & 50–950 ramp

primary
#B062E7
secondary
#CEE9BB
accent
#D61062
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062E7

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

Preview Lab → · Contrast checker → · Palette generator →

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