#B070F2#B070F2

#B070F2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.9% C 0.192 H 304.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B070F2
RGBrgb(176, 112, 242)
HSLhsl(270, 83%, 69%)
HSVhsv(270, 54%, 95%)
CMYKcmyk(27.3%, 53.7%, 0%, 5.1%)
CIE-LABlab(59.19, 49.75, -56.06)
CIE-LCHlch(59.19, 74.95, 311.58°)
OKLaboklab(66.9% 0.1084 -0.1579)
OKLCHoklch(66.9% 0.192 304.5)
XYZxyz(39.7222, 27.2294, 87.1503)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B070F2 #B2F270
analogous
#7071F2 #B070F2 #F170F2
triadic
#B070F2 #F2B070 #70F2B0
tetradic
#B070F2 #F27071 #B2F270 #70F2F1
square
#B070F2 #F27071 #B2F270 #70F2F1
split-complementary
#B070F2 #F2F170 #71F270
monochromatic
#7213D4 #9138ED #B070F2 #CFA8F7 #EEE0FC

Accessibility & contrast

On white

3.26
#B070F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B070F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B070F2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B070F2#FFFFFF#000000##000000
##B070F21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#A588A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b070f2;
/* rgb */ color: rgb(176, 112, 242);
/* oklch */ color: oklch(66.9% 0.192 304.5);
Tailwind
colors: {
  custom: {
    50: '#cb9bf7',
    500: '#b070f2',
    950: '#000000',
  },
}
SCSS
$custom: #b070f2;
$custom-light: #cb9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b070f2",
  "rgb": {
    "r": 176,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 269.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66904,
    "c": 0.19152,
    "h": 304.5
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#B070F2
secondary
#DFF2CC
accent
#E00674
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B070F2

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

Preview Lab → · Contrast checker → · Palette generator →

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