#B062ED#B062ED

#B062ED is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.6% C 0.206 H 307.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B062ED
RGBrgb(176, 98, 237)
HSLhsl(274, 79%, 66%)
HSVhsv(274, 59%, 93%)
CMYKcmyk(25.7%, 58.6%, 0%, 7.1%)
CIE-LABlab(56.17, 55.83, -58.10)
CIE-LCHlch(56.17, 80.58, 313.86°)
OKLaboklab(64.6% 0.1256 -0.1638)
OKLCHoklch(64.6% 0.206 307.5)
XYZxyz(37.5551, 24.0804, 82.7739)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062ED #9FED62
analogous
#6A62ED #B062ED #ED62E5
triadic
#B062ED #EDB062 #62EDB0
tetradic
#B062ED #ED6A62 #9FED62 #62E5ED
square
#B062ED #ED6A62 #9FED62 #62E5ED
split-complementary
#B062ED #E5ED62 #62ED6A
monochromatic
#7516BF #942BE7 #B062ED #CC99F3 #E7D0FA

Accessibility & contrast

On white

3.61
#B062ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B062ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062ED
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062ED#FFFFFF#000000##000000
##B062ED1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#4C87EA
Tritanopia (blue-blind)
#A77D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b062ed;
/* rgb */ color: rgb(176, 98, 237);
/* oklch */ color: oklch(64.6% 0.206 307.5);
Tailwind
colors: {
  custom: {
    50: '#cb92f3',
    500: '#b062ed',
    950: '#000000',
  },
}
SCSS
$custom: #b062ed;
$custom-light: #cb92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b062ed",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 273.669,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64599,
    "c": 0.20645,
    "h": 307.5
  },
  "luminance": 0.2408
}

Semantic roles & 50–950 ramp

primary
#B062ED
secondary
#D3EDBE
accent
#DC0A66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062ED

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

Preview Lab → · Contrast checker → · Palette generator →

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