#B062F1#B062F1

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

Color values

HEX#B062F1
RGBrgb(176, 98, 241)
HSLhsl(273, 84%, 66%)
HSVhsv(273, 59%, 95%)
CMYKcmyk(27%, 59.3%, 0%, 5.5%)
CIE-LABlab(56.40, 56.73, -59.96)
CIE-LCHlch(56.40, 82.54, 313.41°)
OKLaboklab(64.85% 0.1256 -0.1693)
OKLCHoklch(64.85% 0.211 306.6)
XYZxyz(38.1460, 24.3167, 85.8861)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062F1 #A3F162
analogous
#6962F1 #B062F1 #F162EB
triadic
#B062F1 #F1B062 #62F1B0
tetradic
#B062F1 #F16962 #A3F162 #62EBF1
square
#B062F1 #F16962 #A3F162 #62EBF1
split-complementary
#B062F1 #EBF162 #62F169
monochromatic
#7512C7 #942AEC #B062F1 #CC9AF6 #E9D2FB

Accessibility & contrast

On white

3.58
#B062F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B062F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062F1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062F1#FFFFFF#000000##000000
##B062F11.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F6
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#A57EA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b062f1;
/* rgb */ color: rgb(176, 98, 241);
/* oklch */ color: oklch(64.8% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#cb92f6',
    500: '#b062f1',
    950: '#000000',
  },
}
SCSS
$custom: #b062f1;
$custom-light: #cb92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b062f1",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 272.727,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64846,
    "c": 0.21077,
    "h": 306.6
  },
  "luminance": 0.24316
}

Semantic roles & 50–950 ramp

primary
#B062F1
secondary
#D5EFC0
accent
#E00569
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B062F1

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

Preview Lab → · Contrast checker → · Palette generator →

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