#B062F0#B062F0

#B062F0 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.8% C 0.210 H 306.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B062F0
RGBrgb(176, 98, 240)
HSLhsl(273, 83%, 66%)
HSVhsv(273, 59%, 94%)
CMYKcmyk(26.7%, 59.2%, 0%, 5.9%)
CIE-LABlab(56.34, 56.50, -59.50)
CIE-LCHlch(56.34, 82.05, 313.52°)
OKLaboklab(64.78% 0.1256 -0.1679)
OKLCHoklch(64.78% 0.21 306.8)
XYZxyz(37.9971, 24.2571, 85.1016)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062F0 #A2F062
analogous
#6962F0 #B062F0 #F062E9
triadic
#B062F0 #F0B062 #62F0B0
tetradic
#B062F0 #F06962 #A2F062 #62E9F0
square
#B062F0 #F06962 #A2F062 #62E9F0
split-complementary
#B062F0 #E9F062 #62F069
monochromatic
#7513C5 #942AEB #B062F0 #CC9AF5 #E8D2FB

Accessibility & contrast

On white

3.59
#B062F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B062F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062F0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062F0#FFFFFF#000000##000000
##B062F01.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F5
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#A67EA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b062f0;
/* rgb */ color: rgb(176, 98, 240);
/* oklch */ color: oklch(64.8% 0.210 306.8);
Tailwind
colors: {
  custom: {
    50: '#cb92f6',
    500: '#b062f0',
    950: '#000000',
  },
}
SCSS
$custom: #b062f0;
$custom-light: #cb92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b062f0",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 272.958,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64784,
    "c": 0.20969,
    "h": 306.8
  },
  "luminance": 0.24257
}

Semantic roles & 50–950 ramp

primary
#B062F0
secondary
#D5EEC0
accent
#DF0768
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062F0

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

Preview Lab → · Contrast checker → · Palette generator →

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