#B074E2#B074E2

#B074E2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.167 H 307.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B074E2
RGBrgb(176, 116, 226)
HSLhsl(273, 65%, 67%)
HSVhsv(273, 49%, 89%)
CMYKcmyk(22.1%, 48.7%, 0%, 11.4%)
CIE-LABlab(59.17, 43.93, -47.18)
CIE-LCHlch(59.17, 64.46, 312.96°)
OKLaboklab(66.62% 0.1019 -0.132)
OKLCHoklch(66.62% 0.167 307.7)
XYZxyz(37.8746, 27.2123, 75.1940)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B074E2 #A6E274
analogous
#7974E2 #B074E2 #E274DD
triadic
#B074E2 #E2B074 #74E2B0
tetradic
#B074E2 #E27974 #A6E274 #74DDE2
square
#B074E2 #E27974 #A6E274 #74DDE2
split-complementary
#B074E2 #DDE274 #74E279
monochromatic
#7426B6 #9341D7 #B074E2 #CDA7ED #EAD9F7

Accessibility & contrast

On white

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

On black

6.44
#B074E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B074E2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B074E2#FFFFFF#000000##000000
##B074E21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#A987A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b074e2;
/* rgb */ color: rgb(176, 116, 226);
/* oklch */ color: oklch(66.6% 0.167 307.7);
Tailwind
colors: {
  custom: {
    50: '#ca9deb',
    500: '#b074e2',
    950: '#000000',
  },
}
SCSS
$custom: #b074e2;
$custom-light: #ca9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#b074e2",
  "rgb": {
    "r": 176,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 272.727,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66618,
    "c": 0.16672,
    "h": 307.7
  },
  "luminance": 0.27212
}

Semantic roles & 50–950 ramp

primary
#B074E2
secondary
#D7EAC7
accent
#CD186B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B074E2

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

Preview Lab → · Contrast checker → · Palette generator →

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