#B074EB#B074EB

#B074EB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.177 H 305.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B074EB
RGBrgb(176, 116, 235)
HSLhsl(270, 75%, 69%)
HSVhsv(270, 51%, 92%)
CMYKcmyk(25.1%, 50.6%, 0%, 7.8%)
CIE-LABlab(59.63, 45.99, -51.46)
CIE-LCHlch(59.63, 69.01, 311.78°)
OKLaboklab(67.11% 0.1028 -0.1445)
OKLCHoklch(67.11% 0.177 305.4)
XYZxyz(39.1421, 27.7193, 81.8694)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074EB #AFEB74
analogous
#7574EB #B074EB #EB74EB
triadic
#B074EB #EBB074 #74EBB0
tetradic
#B074EB #EB7574 #AFEB74 #74EBEB
square
#B074EB #EB7574 #AFEB74 #74EBEB
split-complementary
#B074EB #EBEB74 #74EB75
monochromatic
#731DC8 #923EE3 #B074EB #CEAAF3 #EDDFFA

Accessibility & contrast

On white

3.21
#B074EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B074EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074EB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074EB#FFFFFF#000000##000000
##B074EB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#A689A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b074eb;
/* rgb */ color: rgb(176, 116, 235);
/* oklch */ color: oklch(67.1% 0.177 305.4);
Tailwind
colors: {
  custom: {
    50: '#ca9ef2',
    500: '#b074eb',
    950: '#000000',
  },
}
SCSS
$custom: #b074eb;
$custom-light: #ca9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b074eb",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 270.252,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67113,
    "c": 0.17728,
    "h": 305.4
  },
  "luminance": 0.27719
}

Semantic roles & 50–950 ramp

primary
#B074EB
secondary
#DDEFCC
accent
#D70F72
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B074EB

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

Preview Lab → · Contrast checker → · Palette generator →

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