#7230B2#7230B2

#7230B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.194 H 302.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7230B2
RGBrgb(114, 48, 178)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 70%)
CMYKcmyk(36%, 73%, 0%, 30.2%)
CIE-LABlab(35.80, 52.97, -57.40)
CIE-LCHlch(35.80, 78.11, 312.70°)
OKLaboklab(47.02% 0.1046 -0.1636)
OKLCHoklch(47.02% 0.194 302.6)
XYZxyz(16.0304, 8.9056, 42.9853)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230B2 #70B230
analogous
#3130B2 #7230B2 #B230B1
triadic
#7230B2 #B27230 #30B272
tetradic
#7230B2 #B23130 #70B230 #30B1B2
square
#7230B2 #B23130 #70B230 #30B1B2
split-complementary
#7230B2 #B1B230 #30B231
monochromatic
#341652 #532382 #7230B2 #9150D0 #AF80DD

Accessibility & contrast

On white

7.55
#7230B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7230B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230B2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230B2#FFFFFF#000000##FFFFFF
##7230B21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#65506E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7230b2;
/* rgb */ color: rgb(114, 48, 178);
/* oklch */ color: oklch(47.0% 0.194 302.6);
Tailwind
colors: {
  custom: {
    50: '#a06eca',
    500: '#7230b2',
    950: '#000000',
  },
}
SCSS
$custom: #7230b2;
$custom-light: #a06eca;
$custom-dark: #000000;
JSON
{
  "hex": "#7230b2",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 270.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47024,
    "c": 0.19416,
    "h": 302.6
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#7230B2
secondary
#9EC678
accent
#E14793
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7230B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7230B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva