#B074F5#B074F5

#B074F5 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.189 H 303.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B074F5
RGBrgb(176, 116, 245)
HSLhsl(268, 87%, 71%)
HSVhsv(268, 53%, 96%)
CMYKcmyk(28.2%, 52.7%, 0%, 3.9%)
CIE-LABlab(60.17, 48.32, -56.15)
CIE-LCHlch(60.17, 74.08, 310.71°)
OKLaboklab(67.68% 0.1035 -0.1582)
OKLCHoklch(67.68% 0.189 303.2)
XYZxyz(40.6276, 28.3135, 89.6932)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074F5 #B9F574
analogous
#7478F5 #B074F5 #F074F5
triadic
#B074F5 #F5B074 #74F5B0
tetradic
#B074F5 #F57478 #B9F574 #74F5F0
square
#B074F5 #F57478 #B9F574 #74F5F0
split-complementary
#B074F5 #F5F074 #78F574
monochromatic
#7010DF #903BF1 #B074F5 #D0ADF9 #EFE2FD

Accessibility & contrast

On white

3.15
#B074F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B074F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074F5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074F5#FFFFFF#000000##000000
##B074F51.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#A38CAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b074f5;
/* rgb */ color: rgb(176, 116, 245);
/* oklch */ color: oklch(67.7% 0.189 303.2);
Tailwind
colors: {
  custom: {
    50: '#cb9ef9',
    500: '#b074f5',
    950: '#000000',
  },
}
SCSS
$custom: #b074f5;
$custom-light: #cb9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b074f5",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 267.907,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.18902,
    "h": 303.2
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#B074F5
secondary
#E4F4D1
accent
#E3027B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B074F5

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

Preview Lab → · Contrast checker → · Palette generator →

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