#B062EF#B062EF

#B062EF is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.7% C 0.209 H 307.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B062EF
RGBrgb(176, 98, 239)
HSLhsl(273, 82%, 66%)
HSVhsv(273, 59%, 94%)
CMYKcmyk(26.4%, 59%, 0%, 6.3%)
CIE-LABlab(56.29, 56.28, -59.03)
CIE-LCHlch(56.29, 81.56, 313.63°)
OKLaboklab(64.72% 0.1256 -0.1666)
OKLCHoklch(64.72% 0.209 307)
XYZxyz(37.8489, 24.1979, 84.3214)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062EF #A1EF62
analogous
#6962EF #B062EF #EF62E8
triadic
#B062EF #EFB062 #62EFB0
tetradic
#B062EF #EF6962 #A1EF62 #62E8EF
square
#B062EF #EF6962 #A1EF62 #62E8EF
split-complementary
#B062EF #E8EF62 #62EF69
monochromatic
#7514C3 #942AE9 #B062EF #CC9AF5 #E8D1FA

Accessibility & contrast

On white

3.60
#B062EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B062EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062EF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062EF#FFFFFF#000000##000000
##B062EF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F4
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#A67E9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b062ef;
/* rgb */ color: rgb(176, 98, 239);
/* oklch */ color: oklch(64.7% 0.209 307.0);
Tailwind
colors: {
  custom: {
    50: '#cb92f5',
    500: '#b062ef',
    950: '#000000',
  },
}
SCSS
$custom: #b062ef;
$custom-light: #cb92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b062ef",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 273.191,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.20862,
    "h": 307
  },
  "luminance": 0.24197
}

Semantic roles & 50–950 ramp

primary
#B062EF
secondary
#D4EEBF
accent
#DE0867
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062EF

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

Preview Lab → · Contrast checker → · Palette generator →

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